summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorEric Andersen2000-06-28 02:25:18 +0000
committerEric Andersen2000-06-28 02:25:18 +0000
commit47cac6779a4457e29b956aa864f0292fa7706bc1 (patch)
treebdd6b0c41b3475360c745f00e1431b1ba180a5db /debian/rules
parenteb0283333b16d17c28ae11669e7d6ad0e19d4bb7 (diff)
downloadbusybox-47cac6779a4457e29b956aa864f0292fa7706bc1.zip
busybox-47cac6779a4457e29b956aa864f0292fa7706bc1.tar.gz
Updates for the .deb
-Erik
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules23
1 files changed, 17 insertions, 6 deletions
diff --git a/debian/rules b/debian/rules
index 04714d6..ffa9b5c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -74,12 +74,18 @@ busybox: install
dh_testdir
dh_testroot
dh_installdirs
- dh_installdocs -p$@ docs/BusyBox.txt \
- docs/BusyBox.html docs/busybox.lineo.com AUTHORS README TODO
- rm -rf $(bb)/usr/share/doc/busybox/busybox.lineo.com/CVS \
- $(bb)/usr/share/doc/busybox/busybox.lineo.com/.cvsignore \
- $(bb)/usr/share/doc/busybox/busybox.lineo.com/images/CVS \
- $(bb)/usr/share/doc/busybox/busybox.lineo.com/images/.cvsignore
+ #
+ #Note that for busybox, we do not install any docs,
+ # or man apges or anything else. This is in blatent violation of every
+ # Debian policy out there, since this package is intended to be used
+ # _only_ by the debian-installer.
+ #
+ #dh_installdocs -p$@ docs/BusyBox.txt \
+ # docs/BusyBox.html docs/busybox.lineo.com AUTHORS README TODO
+ #rm -rf $(bb)/usr/share/doc/busybox/busybox.lineo.com/CVS \
+ # $(bb)/usr/share/doc/busybox/busybox.lineo.com/.cvsignore \
+ # $(bb)/usr/share/doc/busybox/busybox.lineo.com/images/CVS \
+ # $(bb)/usr/share/doc/busybox/busybox.lineo.com/images/.cvsignore
#dh_undocumented -p$@
dh_installchangelogs -p$@ Changelog
dh_strip -p$@
@@ -87,6 +93,11 @@ busybox: install
dh_fixperms -p$@
dh_installdeb -p$@
dh_shlibdeps -p$@
+ #
+ #Make _very_ sure there are no docs lurking about.
+ #
+ rm -rf $(bb)/usr/share/doc
+ rm -rf $(bb)/usr/share/man
dh_gencontrol -p$@
dh_md5sums -p$@
dh_builddeb -p$@