[PATCH] chrpath: Ensure the package respects the docdir variable

Dengke Du dengke.du at windriver.com
Tue Jul 11 05:36:58 UTC 2017


From: Richard Purdie <richard.purdie at linuxfoundation.org>

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

RP 5/7/2011

Signed-off-by: Dengke Du <dengke.du at 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




More information about the chrpath-devel mailing list