Make a seperate busybox-doc package

This commit is contained in:
Glenn L McGrath 2002-11-26 02:16:06 +00:00
parent f66de64a11
commit 12371f916b
2 changed files with 23 additions and 0 deletions

7
debian/control vendored
View File

@ -2,8 +2,15 @@ Source: busybox
Priority: optional Priority: optional
Maintainer: Erik Andersen <andersee@debian.org> Maintainer: Erik Andersen <andersee@debian.org>
Build-Depends: debhelper (>= 2.1.18), dpkg-dev (>= 1.7.0) Build-Depends: debhelper (>= 2.1.18), dpkg-dev (>= 1.7.0)
Build-Depends-Indep: sgmltools-lite, w3m
Standards-Version: 3.2.1.0 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 Package: busybox
Architecture: any Architecture: any
Depends: ${shlibs:Depends} Depends: ${shlibs:Depends}

16
debian/rules vendored
View File

@ -21,6 +21,7 @@ busybox-deb:
$(MAKE) $(MAKE)
install -D busybox ./debian/busybox/bin/busybox install -D busybox ./debian/busybox/bin/busybox
dh_installchangelogs Changelog -pbusybox dh_installchangelogs Changelog -pbusybox
dh_installdocs -pbusybox
dh_strip -pbusybox dh_strip -pbusybox
dh_compress -pbusybox dh_compress -pbusybox
dh_fixperms -pbusybox dh_fixperms -pbusybox
@ -58,6 +59,7 @@ busybox-static:
$(MAKE) $(MAKE)
install -D busybox ./debian/busybox-static/bin/busybox install -D busybox ./debian/busybox-static/bin/busybox
dh_installchangelogs Changelog -pbusybox-static dh_installchangelogs Changelog -pbusybox-static
dh_installdocs -pbusybox-static
dh_strip -pbusybox-static dh_strip -pbusybox-static
dh_compress -pbusybox-static dh_compress -pbusybox-static
dh_fixperms -pbusybox-static dh_fixperms -pbusybox-static
@ -69,5 +71,19 @@ busybox-static:
binary-arch: busybox-deb busybox-udeb 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 binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure .PHONY: build clean binary-indep binary-arch binary install configure