Permalink
Browse files

make 'archive' target (the default) to build a gzipped tarball.

ignore that tarball.
  • Loading branch information...
nvie committed Jul 16, 2009
1 parent edc1181 commit bd6d624826fa3778424eafe6f96d9574341f0f80
Showing with 6 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +5 −2 Makefile
View
@@ -1,2 +1,3 @@
*.pyc
.*.swp
+/git-it.tar.gz
View
@@ -1,9 +1,12 @@
#
# Make file for the git-it project
#
-all: nothing
+all: archive
-nothing:
+archive:
+ @git archive --format=tar --prefix=/prj/git-it/ HEAD | gzip -9 > git-it.tar.gz
+ @echo "built package 'git-it.tar.gz'"
clean:
@find lib -type f -name '*.pyc' -exec rm {} \;
+ @rm -f git-it.tar.gz

0 comments on commit bd6d624

Please sign in to comment.