diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-12 22:31:15 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-12 22:31:15 +0000 |
commit | 5fa7148761097d067c3f6723ca55c6284d1152ac (patch) | |
tree | 94e33f089502ba8625c31f72b93ae365e906d9d0 /Makefile.custom | |
parent | 16c2c700fd26825fbd3e9591b5f590f5d2abf65d (diff) | |
download | busybox-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.custom | 16 |
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 | ||
46 | release: 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 |
46 | checkhelp: | 62 | checkhelp: |
47 | $(Q)$(srctree)/scripts/checkhelp.awk \ | 63 | $(Q)$(srctree)/scripts/checkhelp.awk \ |