Commit 41e49cd6 authored by Stephane Glondu's avatar Stephane Glondu
Browse files

make archive

parent 25bf4954
......@@ -24,3 +24,9 @@ doc:
doc/specification.pdf: doc/specification.tex
cd doc && for u in 1 2 3; do pdflatex specification.tex; done
archive:
test `git status --porcelain | wc -l ` -eq 0 && { \
COMMIT_ID=`git describe --tags`; \
git archive --prefix=belenios-$$COMMIT_ID/ $$COMMIT_ID | gzip -9 > ../belenios-$$COMMIT_ID.tar.gz; \
ln -sf belenios-$$COMMIT_ID.tar.gz ../belenios.tar.gz; }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment