From: Adam Megacz Date: Sun, 9 Aug 2009 23:03:09 +0000 (-0700) Subject: add make snapshot target X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=commitdiff_plain;h=df379ac3ac2b6d9192b1b3dd3027a85b002884b6;hp=db618397cc9cb09491aea262bff46ebee6b1e010 add make snapshot target --- diff --git a/Makefile b/Makefile index c562400..bc03998 100644 --- 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