summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorGlenn L McGrath2002-12-08 20:45:47 +0000
committerGlenn L McGrath2002-12-08 20:45:47 +0000
commitc4698b36682b0bccae2fa1f70460aacaef306313 (patch)
tree031342e05cfe2a21ee2209b91e31f020fb9a458c /debian/rules
parenta6bbf7929cf1c952b97c03c77bec7f96c8b5e2af (diff)
downloadbusybox-c4698b36682b0bccae2fa1f70460aacaef306313.zip
busybox-c4698b36682b0bccae2fa1f70460aacaef306313.tar.gz
Updates for the new build system from Bastian Blank (waldi)
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules56
1 files changed, 15 insertions, 41 deletions
diff --git a/debian/rules b/debian/rules
index 076e8ed..197f98a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,7 @@ build-arch-stamp:
$(MAKE) clean
cp ./debian/config-static .config
$(MAKE) dep
- $(MAKE) DOSTATIC=true DODEBUG=$(DODEBUG)
+ $(MAKE) DODEBUG=$(DODEBUG)
install busybox busybox-static
$(MAKE) clean
@@ -34,23 +34,19 @@ build-arch-stamp:
$(MAKE) dep
$(MAKE) DODEBUG=$(DODEBUG)
- touch build-arch-stamp
-
-build-indep: build-indep-stamp
-build-indep-stamp:
- $(MAKE) newdoc
+ $(MAKE) docs/BusyBox.1
- touch build-indep-stamp
+ touch build-arch-stamp
-build: build-arch build-indep
+build: build-arch
clean:
dh_testdir
dh_testroot
- rm -f build-arch-stamp build-indep-stamp
+ rm -f build-arch-stamp build-indep-stamp debian/files~
$(MAKE) distclean
- -rm -f busybox-deb busybox-static
+ -rm -f busybox-deb busybox-static .config busybox.1
dh_clean
@@ -63,34 +59,10 @@ install: build-arch
install busybox-deb $(CURDIR)/debian/busybox-cvs/bin/busybox
install busybox-static $(CURDIR)/debian/busybox-cvs-static/bin/busybox
$(MAKE) PREFIX=$(CURDIR)/debian/busybox-cvs-udeb install
+ cp docs/BusyBox.1 busybox.1
-# Build architecture-independent files here.
-# Pass -i to all debhelper commands in this target to reduce clutter.
-binary-indep: build
- dh_testdir -i
- dh_testroot -i
-# dh_installdebconf -i
- dh_installdocs -i
-# dh_installexamples -i
-# dh_installmenu -i
-# dh_installlogrotate -i
-# dh_installemacsen -i
-# dh_installpam -i
-# dh_installmime -i
-# dh_installinit -i
-# dh_installcron -i
-# dh_installman -i
-# dh_installinfo -i
-# dh_undocumented -i
- dh_installchangelogs Changelog -i
- dh_link -i
- dh_compress -i
- dh_fixperms -i
- dh_installdeb -i
-# dh_perl -i
- dh_gencontrol -i
- dh_md5sums -i
- dh_builddeb -i
+ install -m644 debian/busybox-cvs-static.override \
+ debian/busybox-cvs-static/usr/share/lintian/overrides/busybox-cvs-static
# Build architecture-dependent files here.
binary-arch: build-arch install
@@ -106,7 +78,7 @@ binary-arch: build-arch install
# dh_installmime -a
# dh_installinit -a
# dh_installcron -a
-# dh_installman -a
+ dh_installman -a -Nbusybox-cvs-udeb
# dh_installinfo -a
# dh_undocumented -a
dh_installchangelogs Changelog -a -Nbusybox-cvs-udeb
@@ -118,11 +90,13 @@ binary-arch: build-arch install
dh_installdeb -a
# dh_perl -a
dh_shlibdeps -a
- dh_gencontrol -a
+ dh_gencontrol -a -Nbusybox-cvs-udeb
dh_md5sums -a -Nbusybox-cvs-udeb
dh_builddeb -a -Nbusybox-cvs-udeb
- dpkg-distaddfile busybox-cvs-udeb_$(VERSION)_$(ARCH).udeb debian-installer optional
+
+ dh_gencontrol -pbusybox-cvs-udeb -- -fdebian/files~
+ dpkg-distaddfile busybox-cvs-udeb_$(VERSION)_$(ARCH).udeb debian-installer standard
dh_builddeb -pbusybox-cvs-udeb --filename=busybox-cvs-udeb_$(VERSION)_$(ARCH).udeb
-binary: binary-indep binary-arch
+binary: binary-arch
.PHONY: build clean binary-indep binary-arch binary install