Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

dist makefile target for building .tar.gz

  • Loading branch information...
commit e42382f321e7e0dedab296074d40caed8e27bb6c 1 parent 4f51a1f
jpike authored
Showing with 6 additions and 1 deletion.
  1. +1 −0  .gitignore
  2. +5 −1 src/vu8/Makefile
View
1  .gitignore
@@ -1,2 +1,3 @@
src/vu8/obj
src/vu8/Makefile.local
+*.tar.gz
View
6 src/vu8/Makefile
@@ -1,4 +1,4 @@
-.PHONY: default build install test clean config
+.PHONY: default build install test clean config dist
-include Makefile.local
@@ -28,3 +28,7 @@ test:
clean:
@${MAKE} -C ${O} clean
@rm -rf obj
+
+dist:
+ ver=vu8-`git tag | tail -n 1` && \
+ cd ../.. && git archive --prefix $$ver/ master | gzip > src/vu8/$$ver.tar.gz
Please sign in to comment.
Something went wrong with that request. Please try again.