summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/chrpath/chrpath/standarddoc.patch
blob: 3d303fbc6fdcf9dc3e4b444845437175524cb65f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 285b5fbf1d6b25ff55d305c17edf4d327bf19dd3 Mon Sep 17 00:00:00 2001
From: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Tue, 5 Jul 2011 23:42:29 +0100
Subject: [PATCH] chrpath: Ensure the package respects the docdir variable

autoconf/automake set docdir automatically, use their value ensuring
doc files are placed into $datadir/doc, not $prefix/doc.

RP 5/7/2011

Upstream-Status: Submitted [ http://lists.alioth.debian.org/pipermail/chrpath-devel/Week-of-Mon-20170710/000013.html ]

Signed-off-by: Dengke Du <dengke.du@windriver.com>
---
 Makefile.am | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index b50ad21..5f7e861 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,5 @@
 SUBDIRS = testsuite deb
 
-docdir = $(prefix)/doc/$(PACKAGE)-$(VERSION)
-
 doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README
 
 bin_PROGRAMS = chrpath
-- 
2.8.1