diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-10-29 00:53:01 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-10-29 00:53:01 +0000 |
commit | d816868693b9cbc6c4ce97831f5a2c950b3db260 (patch) | |
tree | b9adb2613c907bf12bafb73b95457fd4a2e62015 /Makefile.in | |
parent | 8789ec41345596c152501877a26a5eac0a577554 (diff) |
cleanup the release target so that it doesnt kill my svn checkout anymore :/
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/Makefile.in b/Makefile.in index 80a41f3d2..652694f22 100644 --- a/Makefile.in +++ b/Makefile.in @@ -10,7 +10,7 @@ #-------------------------------------------------------------- noconfig_targets := menuconfig config oldconfig randconfig \ defconfig allyesconfig allnoconfig clean distclean \ - release tags + release dist tags TOPDIR=./ @@ -369,16 +369,12 @@ distclean: clean $(RM) extra/locale/*.txt $(MAKE) -C extra clean -release: distclean - cd ..; \ - $(RM) -r uClibc-$(VERSION); \ - cp -dRf uClibc uClibc-$(VERSION); \ - find uClibc-$(VERSION)/ -type f \ - -name .\#* -exec $(RM) -r {} \; ; \ - find uClibc-$(VERSION)/ -type d \ - -name .svn -exec $(RM) -r {} \; ; \ - \ - tar -cvzf uClibc-$(VERSION).tar.gz uClibc-$(VERSION)/ +dist release: + $(MAKE) -s distclean + $(RM) -r ../uClibc-$(VERSION) ../uClibc-$(VERSION).tar.gz + svn -q export . ../uClibc-$(VERSION) + tar czf ../uClibc-$(VERSION).tar.gz -C .. uClibc-$(VERSION) + du -b ../uClibc-$(VERSION).tar.gz endif # ifeq ($(HAVE_DOT_CONFIG),y) @@ -387,4 +383,4 @@ include $(top_srcdir)Makerules check: $(MAKE) -C test -.PHONY: dummy subdirs release distclean clean config oldconfig menuconfig utils +.PHONY: dummy subdirs release dist distclean clean config oldconfig menuconfig utils |