From 12371f916b2fee0e3c1a0ab4d3e8623b21bf6f4a Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Tue, 26 Nov 2002 02:16:06 +0000 Subject: [PATCH] Make a seperate busybox-doc package --- debian/control | 7 +++++++ debian/rules | 16 ++++++++++++++++ 2 files changed, 23 insertions(+) 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 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 -- 2.25.1