aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/Makefile b/etc/Makefile
new file mode 100644
index 0000000..5515da0
--- /dev/null
+++ b/etc/Makefile
@@ -0,0 +1,6 @@
+VERSION=$(shell git symbolic-ref --short HEAD | cut -d / -f 2)
+
+dist:
+ cd ..; git archive --format tar --prefix mathcomp-$(VERSION)/\
+ -o mathcomp-$(VERSION).tar HEAD
+ cd ..; gzip -f -9 mathcomp-$(VERSION).tar