aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2002-11-26 02:16:06 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2002-11-26 02:16:06 +0000
commit12371f916b2fee0e3c1a0ab4d3e8623b21bf6f4a (patch)
treeaae9fc96321202936255d326036c44c5aa3b6a31
parentf66de64a1123670b68233d64cb3c0921bee57f8a (diff)
downloadbusybox-12371f916b2fee0e3c1a0ab4d3e8623b21bf6f4a.tar.gz
Make a seperate busybox-doc package
-rw-r--r--debian/control7
-rwxr-xr-xdebian/rules16
2 files changed, 23 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index 3626718da..2a0ffa8bf 100644
--- a/debian/control
+++ b/debian/control
@@ -2,8 +2,15 @@ Source: busybox
Priority: optional
Maintainer: Erik Andersen <andersee@debian.org>
Build-Depends: debhelper (>= 2.1.18), dpkg-dev (>= 1.7.0)
+Build-Depends-Indep: sgmltools-lite, w3m
Standards-Version: 3.2.1.0
+Package: busybox-doc
+Architecture: all
+Section: doc
+Description: Documentation for busybox
+ Documentation in various formats on busybox commands and their options.
+
Package: busybox
Architecture: any
Depends: ${shlibs:Depends}
diff --git a/debian/rules b/debian/rules
index b812bc249..2a0b48f24 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,7 @@ busybox-deb:
$(MAKE)
install -D busybox ./debian/busybox/bin/busybox
dh_installchangelogs Changelog -pbusybox
+ dh_installdocs -pbusybox
dh_strip -pbusybox
dh_compress -pbusybox
dh_fixperms -pbusybox
@@ -58,6 +59,7 @@ busybox-static:
$(MAKE)
install -D busybox ./debian/busybox-static/bin/busybox
dh_installchangelogs Changelog -pbusybox-static
+ dh_installdocs -pbusybox-static
dh_strip -pbusybox-static
dh_compress -pbusybox-static
dh_fixperms -pbusybox-static
@@ -69,5 +71,19 @@ busybox-static:
binary-arch: busybox-deb busybox-udeb busybox-static
+binary-indep:
+ dh_testdir
+ dh_testroot
+ $(MAKE) clean
+ $(MAKE) newdoc
+ dh_installdocs -pbusybox-doc
+ dh_installchangelogs Changelog -pbusybox-doc
+ dh_compress -pbusybox-doc
+ dh_fixperms -pbusybox-doc
+ dh_installdeb -pbusybox-doc
+ dh_gencontrol -pbusybox-doc
+ dh_md5sums -pbusybox-doc
+ dh_builddeb -pbusybox-doc
+
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure