Permalink
Browse files

Add "make dist" to GeoCouch.

"make dist" will create a source tarball of GeoCouch.

This commit also adds the files generated by "make dist"
to .gitignore.

Change-Id: Ib1851c394c9327e4066b769cdbac26fa18af0ab1
Reviewed-on: http://review.couchbase.org/8206
Tested-by: Steve Yen <steve.yen@gmail.com>
Reviewed-by: Steve Yen <steve.yen@gmail.com>
  • Loading branch information...
1 parent 575c697 commit 8a6b4e0c64c9d7f1415ba535f3e8df781b0bd0fa @vmx vmx committed with vmx Jul 21, 2011
Showing with 10 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +8 −0 Makefile
View
2 .gitignore
@@ -4,3 +4,5 @@
*.rej
erl_crash.dump
coverage
+*.tar.gz
+tmp
View
8 Makefile
@@ -32,3 +32,11 @@ cover: compile
clean:
rm -rf build
rm -f test/*.beam
+
+dist:
+ mkdir -p tmp/geocouch-`git describe`
+ rm -rf tmp/geocouch-`git describe`/*
+ cp Emakefile Makefile README.md tmp/geocouch-`git describe`/
+ cp -R etc share src test tmp/geocouch-`git describe`/
+ find tmp/geocouch-`git describe` -name '*.beam' | xargs rm -f
+ tar -C tmp -czf geocouch-`git describe`.tar.gz geocouch-`git describe`

0 comments on commit 8a6b4e0

Please sign in to comment.