aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorN.N. <krzyszcz@users.sourceforge.net>2004-03-09 12:41:22 +0000
committerN.N. <krzyszcz@users.sourceforge.net>2004-03-09 12:41:22 +0000
commitbc5e203f7787980f65f81ddbf69a619ab34fa85e (patch)
tree008164a186948e7821e67e5325c0acc3024f6d98 /Makefile
parentd9072a0e0ecb227c9a42dddf027e29a04f080f4e (diff)
toxy alpha6
svn path=/trunk/externals/miXed/; revision=1396
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3bd3c7e..048ad44 100644
--- a/Makefile
+++ b/Makefile
@@ -14,9 +14,30 @@ diff depend emptydeps:
@for i in $(MIXED_DIRS) ; \
do ( if [ -d $$i ] ; then cd $$i; $(MAKE) $@ ; fi ) ; done
+ALLSRC_TAR = release/miXed-`date +%F`-src.tar
+ALLSRC_ROOTFILES = LICENSE.txt Makefile.common Makefile Makefile.dirs \
+ dumpsetups quoteinitializer
+
snap release:
@for i in $(RELEASE_DIRS) ; \
do ( if [ -d $$i ] ; then cd $$i; $(MAKE) $@ ; fi ) ; done
+rootsnap:
+ tar -cf $(ALLSRC_TAR) $(ALLSRC_ROOTFILES)
+ @for i in $(RELEASE_DIRS) ; \
+ do ( if [ -d $$i ] ; then tar -X $$i/$$i-all.exclude -rf \
+ $(ALLSRC_TAR) $$i/* ; fi ) ; done
+ tar -X shared/shared-all.exclude -rf $(ALLSRC_TAR) shared/*
+ @for i in $(RELEASE_DIRS) ; \
+ do ( if [ -d $$i ] ; then tar -X $$i/$$i-test.exclude -rf \
+ $(ALLSRC_TAR) test/$$i/* ; fi ) ; done
+ @for i in $(RELEASE_DIRS) ; \
+ do ( if [ -d $$i ] ; then tar -X $$i/$$i-vicious.exclude -rf \
+ $(ALLSRC_TAR) ViCious/$$i/* ; fi ) ; done
+ tar -rf $(ALLSRC_TAR) bin/keepme
+ gzip -f $(ALLSRC_TAR)
+
+fullsnap: snap rootsnap
+
backup:
tar -X miXed-bak-exclude.files -zcf miXed-bak.tar.gz *