Permalink
Browse files

make dist

  • Loading branch information...
1 parent e7324f4 commit b770b50e4903186ddbac297c3d342566874e3518 Jake Donham committed Aug 26, 2010
Showing with 14 additions and 0 deletions.
  1. +5 −0 .exclude
  2. +9 −0 Makefile
View
@@ -0,0 +1,5 @@
+ocamljs-0.3/.exclude
+ocamljs-0.3/.git
+ocamljs-0.3/.gitignore
+ocamljs-0.3/*/patches/*/*.ml
+ocamljs-0.3/*/patches/*/*.ml.orig
View
@@ -36,6 +36,7 @@ clean:
distclean: clean
rm -rf Makefile.conf
+ rm -f ocaml
test:
$(MAKE) -C test
@@ -48,3 +49,11 @@ examples:
github:
rsync -a --delete --exclude './' doc/ ../ocamljs.gh-pages/doc/
rsync -a -L --delete --delete-excluded --exclude _build/ --include '*/' --exclude myocamlbuild.ml --include '*.ml' --include '*.js' --include '*.html' --include '*.css' --include '*.png' --include '*.jpg' --exclude '*' examples/ ../ocamljs.gh-pages/examples/
+
+dist:
+ $(MAKE) distclean
+ cd ..; \
+ mv ocamljs ocamljs-0.3; \
+ tar cvfz ocamljs-0.3.tar.gz --exclude-from ocamljs-0.3/.exclude ocamljs-0.3; \
+ mv ocamljs-0.3 ocamljs
+

0 comments on commit b770b50

Please sign in to comment.