Skip to content

Commit

Permalink
Added a target to create a zip file with the distribution.
Browse files Browse the repository at this point in the history
It's more friendly with Windows users.
  • Loading branch information
jaragunde committed Sep 16, 2011
1 parent ab1f94e commit 2d52908
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ VERSION=2.0~beta1
tgz:
tar zcf phpreport_$(VERSION).tar.gz --exclude=Makefile --exclude=*~ \
--exclude=config/config.php --exclude=phpreport_$(VERSION).tar.gz *

zip: tgz
tar tf phpreport_$(VERSION).tar.gz | zip -@ phpreport_$(VERSION).zip

0 comments on commit 2d52908

Please sign in to comment.