path: root/debian/rules
diff options
authorjoey <joey>1999-08-26 02:55:08 +0000
committerjoey <joey>1999-08-26 02:55:08 +0000
commit017911fad5893e99295e903f3929a598d3f5f526 (patch)
tree9678be63743aa57b965d45788da30b72b53afc2f /debian/rules
parent6f355700cbf2bd9f250e0b40e96448a0c3398b46 (diff)
r257: * Corrected debian/fixlinks to make the correct debian/* symlinks needed
for building debhelper. * Fixed rules file to create and populate examples and docs dirs. Oops.
Diffstat (limited to 'debian/rules')
1 files changed, 5 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index 5aee972..e6a5082 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,9 @@
# I run the most current ones. That's also why there is a symlink to the
# current and the current in this debian/ directory.
-# This is _not_ a good example of a debhelper rules file.
+# This is _not_ a good example of a debhelper rules file, but I didn't need
+# to tell you that; just see the 25 lines of inlined perl below.. See
+# examples/ for some good examples.
# If any automatic script generation is done in building this package,
# be sure to use the new templates from this package.
@@ -49,8 +51,8 @@ binary-indep: link-stamp build
cp -a autoscripts debian/debhelper/usr/share/debhelper
rm -rf debian/debhelper/usr/share/debhelper/autoscripts/CVS
- ./dh_installdocs `echo doc/* | sed s/CVS//`
- ./dh_installexamples `echo examples/* | sed s/CVS//`
+ ./dh_installdocs `find doc/ -type f | grep -v CVS`
+ ./dh_installexamples `find doc -type f | grep -v CVS`