add make snapshot target
authorAdam Megacz <adam@megacz.com>
Sun, 9 Aug 2009 23:03:09 +0000 (16:03 -0700)
committerAdam Megacz <adam@megacz.com>
Sun, 9 Aug 2009 23:03:09 +0000 (16:03 -0700)
Makefile

index c562400..bc03998 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -522,3 +522,9 @@ push:
                darcs push charger.brianweb.net:/home/darcs/nestedvm; \
        fi
        darcs push /afs/ibex.org/project/nestedvm
+
+snapshot:
+       git archive --prefix=nestedvm-`date +%Y-%m-%d`/ HEAD | \
+         gzip -c > \
+         /afs/megacz.com/web/org/ibex/nestedvm/dist/nestedvm-`date +%Y-%m-%d`.tgz
+       @echo url is http://nestedvm.ibex.org/dist/dist/nestedvm-`date +%Y-%m-%d`.tgz