We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6af845 commit 04f2256Copy full SHA for 04f2256
Makefile
@@ -1,5 +1,5 @@
1
2
-.PHONY: build lib doc clean install uninstall test gen gen_ragel gen_metaocaml
+.PHONY: build lib doc clean install uninstall test gen gen_ragel gen_metaocaml archive
3
4
OCAMLBUILD=ocamlbuild -use-ocamlfind -no-links -j 0
5
@@ -42,3 +42,9 @@ clean:
42
dune clean
43
44
distclean: clean
45
+
46
+VERSION=$(shell git describe --tag --always)
47
+NAME=devkit-$(VERSION)
48
49
+archive:
50
+ git archive --prefix=$(NAME)/ HEAD | bzip2 > $(NAME).tbz
0 commit comments