[Pkg-jed-commit] r310 - trunk/packages/jed-extra/debian
Guenter Milde
milde-guest at costa.debian.org
Thu Jun 1 15:02:56 UTC 2006
Author: milde-guest
Date: 2006-06-01 15:02:53 +0000 (Thu, 01 Jun 2006)
New Revision: 310
Modified:
trunk/packages/jed-extra/debian/rules
Log:
bugfix: dh_install cannot be used to install documentation
(at least not as long as there is a file jed-extra.install)
Modified: trunk/packages/jed-extra/debian/rules
===================================================================
--- trunk/packages/jed-extra/debian/rules 2006-06-01 13:29:43 UTC (rev 309)
+++ trunk/packages/jed-extra/debian/rules 2006-06-01 15:02:53 UTC (rev 310)
@@ -52,9 +52,15 @@
# install using the generated jed-extra.install
dh_install -X.html -X.otl -X.example -XREADME
- # install package documentation
- dh_install $$(find . -name \*.html -o -name \*.otl -name \*.example \
- -o -name README\*) usr/share/doc/jed-extra/mode-doc/
+ # Install package documentation
+ # check:
+ find . -name \*.html -o -name \*.otl -name \*.example \
+ -o -name README\*
+ # !! dh_install installs the files in jed-extra.install again !!
+ install -d $(debroot)/usr/share/doc/jed-extra/mode-doc/
+ install README $$(find . -name \*.html -o -name \*.otl -o \
+ -name \*.example -o -name README-\*) \
+ $(debroot)/usr/share/doc/jed-extra/mode-doc/
dh_installdocs debian/contents.txt
More information about the Pkg-jed-commit
mailing list