diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -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 * |