summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/chrpath/chrpath
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-05 23:42:29 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-05 23:48:35 +0100
commit1b44053f6c4ac33d5058183e6634b1ba831ae601 (patch)
tree7bea79adb17e9380b7c4c8eb408758a73532580f /meta/recipes-devtools/chrpath/chrpath
parent615963784b367d8e92cf4599b7d82e5c009e35f3 (diff)
downloadopenembedded-core-1b44053f6c4ac33d5058183e6634b1ba831ae601.tar.gz
openembedded-core-1b44053f6c4ac33d5058183e6634b1ba831ae601.tar.bz2
openembedded-core-1b44053f6c4ac33d5058183e6634b1ba831ae601.zip
chrpath: Ensure the package respects the docdir variable
This resolves unpackaged file QA warnings and an empty -doc package. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/chrpath/chrpath')
-rw-r--r--meta/recipes-devtools/chrpath/chrpath/standarddoc.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-devtools/chrpath/chrpath/standarddoc.patch b/meta/recipes-devtools/chrpath/chrpath/standarddoc.patch
new file mode 100644
index 0000000000..f96f104fad
--- /dev/null
+++ b/meta/recipes-devtools/chrpath/chrpath/standarddoc.patch
@@ -0,0 +1,19 @@
+Upstream-Status: Pending
+
+autoconf/automake set docdir automatically, use their value ensuring
+doc files are placed into $datadir/doc, not $prefix/doc.
+
+RP 5/7/2011
+
+Index: chrpath-0.13/Makefile.am
+===================================================================
+--- chrpath-0.13.orig/Makefile.am 2011-07-05 23:40:14.769920254 +0100
++++ chrpath-0.13/Makefile.am 2011-07-05 23:40:19.819920635 +0100
+@@ -1,7 +1,5 @@
+ SUBDIRS = testsuite deb
+
+-docdir = $(prefix)/doc/$(PACKAGE)-$(VERSION)
+-
+ doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README
+
+ bin_PROGRAMS = chrpath