aboutsummaryrefslogtreecommitdiff
path: root/Makefile.custom
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-12-12 22:31:15 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-12-12 22:31:15 +0000
commit5fa7148761097d067c3f6723ca55c6284d1152ac (patch)
tree94e33f089502ba8625c31f72b93ae365e906d9d0 /Makefile.custom
parent16c2c700fd26825fbd3e9591b5f590f5d2abf65d (diff)
downloadbusybox-w32-5fa7148761097d067c3f6723ca55c6284d1152ac.tar.gz
busybox-w32-5fa7148761097d067c3f6723ca55c6284d1152ac.tar.bz2
busybox-w32-5fa7148761097d067c3f6723ca55c6284d1152ac.zip
build system: add "release" target
find: support -size N (needed for above)
Diffstat (limited to 'Makefile.custom')
-rw-r--r--Makefile.custom16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile.custom b/Makefile.custom
index d257f6de5..816bee5db 100644
--- a/Makefile.custom
+++ b/Makefile.custom
@@ -42,6 +42,22 @@ check test: busybox
42 bindir=$(objtree) srcdir=$(srctree)/testsuite SED="$(SED)" \ 42 bindir=$(objtree) srcdir=$(srctree)/testsuite SED="$(SED)" \
43 $(SHELL) $(srctree)/testsuite/runtest $(if $(KBUILD_VERBOSE:1=),-v) 43 $(SHELL) $(srctree)/testsuite/runtest $(if $(KBUILD_VERBOSE:1=),-v)
44 44
45.PHONY: release
46release: distclean
47 cd ..; \
48 rm -r -f busybox-$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION); \
49 cp -a busybox busybox-$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) && \
50 find busybox-$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)/ -type d \
51 -name .svn \
52 -print \
53 -exec rm -r -f {} \; && \
54 find busybox-$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)/ -type f \
55 -name .\#* \
56 -print \
57 -exec rm -f {} \; && \
58 tar -czf busybox-$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION).tar.gz \
59 busybox-$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)/;
60
45.PHONY: checkhelp 61.PHONY: checkhelp
46checkhelp: 62checkhelp:
47 $(Q)$(srctree)/scripts/checkhelp.awk \ 63 $(Q)$(srctree)/scripts/checkhelp.awk \