diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2002-12-08 20:45:47 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2002-12-08 20:45:47 +0000 |
commit | c4698b36682b0bccae2fa1f70460aacaef306313 (patch) | |
tree | 031342e05cfe2a21ee2209b91e31f020fb9a458c /debian/rules | |
parent | a6bbf7929cf1c952b97c03c77bec7f96c8b5e2af (diff) | |
download | busybox-w32-c4698b36682b0bccae2fa1f70460aacaef306313.tar.gz busybox-w32-c4698b36682b0bccae2fa1f70460aacaef306313.tar.bz2 busybox-w32-c4698b36682b0bccae2fa1f70460aacaef306313.zip |
Updates for the new build system from Bastian Blank (waldi)
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 56 |
1 files changed, 15 insertions, 41 deletions
diff --git a/debian/rules b/debian/rules index 076e8edbd..197f98a46 100755 --- a/debian/rules +++ b/debian/rules | |||
@@ -26,7 +26,7 @@ build-arch-stamp: | |||
26 | $(MAKE) clean | 26 | $(MAKE) clean |
27 | cp ./debian/config-static .config | 27 | cp ./debian/config-static .config |
28 | $(MAKE) dep | 28 | $(MAKE) dep |
29 | $(MAKE) DOSTATIC=true DODEBUG=$(DODEBUG) | 29 | $(MAKE) DODEBUG=$(DODEBUG) |
30 | install busybox busybox-static | 30 | install busybox busybox-static |
31 | 31 | ||
32 | $(MAKE) clean | 32 | $(MAKE) clean |
@@ -34,23 +34,19 @@ build-arch-stamp: | |||
34 | $(MAKE) dep | 34 | $(MAKE) dep |
35 | $(MAKE) DODEBUG=$(DODEBUG) | 35 | $(MAKE) DODEBUG=$(DODEBUG) |
36 | 36 | ||
37 | touch build-arch-stamp | 37 | $(MAKE) docs/BusyBox.1 |
38 | |||
39 | build-indep: build-indep-stamp | ||
40 | build-indep-stamp: | ||
41 | $(MAKE) newdoc | ||
42 | 38 | ||
43 | touch build-indep-stamp | 39 | touch build-arch-stamp |
44 | 40 | ||
45 | build: build-arch build-indep | 41 | build: build-arch |
46 | 42 | ||
47 | clean: | 43 | clean: |
48 | dh_testdir | 44 | dh_testdir |
49 | dh_testroot | 45 | dh_testroot |
50 | rm -f build-arch-stamp build-indep-stamp | 46 | rm -f build-arch-stamp build-indep-stamp debian/files~ |
51 | 47 | ||
52 | $(MAKE) distclean | 48 | $(MAKE) distclean |
53 | -rm -f busybox-deb busybox-static | 49 | -rm -f busybox-deb busybox-static .config busybox.1 |
54 | 50 | ||
55 | dh_clean | 51 | dh_clean |
56 | 52 | ||
@@ -63,34 +59,10 @@ install: build-arch | |||
63 | install busybox-deb $(CURDIR)/debian/busybox-cvs/bin/busybox | 59 | install busybox-deb $(CURDIR)/debian/busybox-cvs/bin/busybox |
64 | install busybox-static $(CURDIR)/debian/busybox-cvs-static/bin/busybox | 60 | install busybox-static $(CURDIR)/debian/busybox-cvs-static/bin/busybox |
65 | $(MAKE) PREFIX=$(CURDIR)/debian/busybox-cvs-udeb install | 61 | $(MAKE) PREFIX=$(CURDIR)/debian/busybox-cvs-udeb install |
62 | cp docs/BusyBox.1 busybox.1 | ||
66 | 63 | ||
67 | # Build architecture-independent files here. | 64 | install -m644 debian/busybox-cvs-static.override \ |
68 | # Pass -i to all debhelper commands in this target to reduce clutter. | 65 | debian/busybox-cvs-static/usr/share/lintian/overrides/busybox-cvs-static |
69 | binary-indep: build | ||
70 | dh_testdir -i | ||
71 | dh_testroot -i | ||
72 | # dh_installdebconf -i | ||
73 | dh_installdocs -i | ||
74 | # dh_installexamples -i | ||
75 | # dh_installmenu -i | ||
76 | # dh_installlogrotate -i | ||
77 | # dh_installemacsen -i | ||
78 | # dh_installpam -i | ||
79 | # dh_installmime -i | ||
80 | # dh_installinit -i | ||
81 | # dh_installcron -i | ||
82 | # dh_installman -i | ||
83 | # dh_installinfo -i | ||
84 | # dh_undocumented -i | ||
85 | dh_installchangelogs Changelog -i | ||
86 | dh_link -i | ||
87 | dh_compress -i | ||
88 | dh_fixperms -i | ||
89 | dh_installdeb -i | ||
90 | # dh_perl -i | ||
91 | dh_gencontrol -i | ||
92 | dh_md5sums -i | ||
93 | dh_builddeb -i | ||
94 | 66 | ||
95 | # Build architecture-dependent files here. | 67 | # Build architecture-dependent files here. |
96 | binary-arch: build-arch install | 68 | binary-arch: build-arch install |
@@ -106,7 +78,7 @@ binary-arch: build-arch install | |||
106 | # dh_installmime -a | 78 | # dh_installmime -a |
107 | # dh_installinit -a | 79 | # dh_installinit -a |
108 | # dh_installcron -a | 80 | # dh_installcron -a |
109 | # dh_installman -a | 81 | dh_installman -a -Nbusybox-cvs-udeb |
110 | # dh_installinfo -a | 82 | # dh_installinfo -a |
111 | # dh_undocumented -a | 83 | # dh_undocumented -a |
112 | dh_installchangelogs Changelog -a -Nbusybox-cvs-udeb | 84 | dh_installchangelogs Changelog -a -Nbusybox-cvs-udeb |
@@ -118,11 +90,13 @@ binary-arch: build-arch install | |||
118 | dh_installdeb -a | 90 | dh_installdeb -a |
119 | # dh_perl -a | 91 | # dh_perl -a |
120 | dh_shlibdeps -a | 92 | dh_shlibdeps -a |
121 | dh_gencontrol -a | 93 | dh_gencontrol -a -Nbusybox-cvs-udeb |
122 | dh_md5sums -a -Nbusybox-cvs-udeb | 94 | dh_md5sums -a -Nbusybox-cvs-udeb |
123 | dh_builddeb -a -Nbusybox-cvs-udeb | 95 | dh_builddeb -a -Nbusybox-cvs-udeb |
124 | dpkg-distaddfile busybox-cvs-udeb_$(VERSION)_$(ARCH).udeb debian-installer optional | 96 | |
97 | dh_gencontrol -pbusybox-cvs-udeb -- -fdebian/files~ | ||
98 | dpkg-distaddfile busybox-cvs-udeb_$(VERSION)_$(ARCH).udeb debian-installer standard | ||
125 | dh_builddeb -pbusybox-cvs-udeb --filename=busybox-cvs-udeb_$(VERSION)_$(ARCH).udeb | 99 | dh_builddeb -pbusybox-cvs-udeb --filename=busybox-cvs-udeb_$(VERSION)_$(ARCH).udeb |
126 | 100 | ||
127 | binary: binary-indep binary-arch | 101 | binary: binary-arch |
128 | .PHONY: build clean binary-indep binary-arch binary install | 102 | .PHONY: build clean binary-indep binary-arch binary install |