Mercurial > hg > forks > pwpunix
changeset 47:b556bdc2a365
Add 'hg-tar' target for making a tarball from the Mercurial repository.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 24 May 2010 05:48:57 +0300 |
parents | 1a01445cc0a7 |
children | 382c1136ea40 |
files | Makefile |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Mon May 24 05:45:28 2010 +0300 +++ b/Makefile Mon May 24 05:48:57 2010 +0300 @@ -89,7 +89,8 @@ XLDFLAGS="-s -L$(MINGW64_PATH)/lib/ `$(MINGW64_PATH)/bin/sdl-config --libs` -lwinmm" && \ $(MAKE) all -ZIPFILE=pwpunix-1.95-sdl-win32-bin.zip +PACKAGE=pwpunix-1.95-sdl +ZIPFILE=$(PACKAGE)-win32-bin.zip README.txt: README unix2dos -n $< $@ @@ -98,6 +99,9 @@ $(RM) $(ZIPFILE) for subdir in $(SUBDIRS); do tmp=`ls $$subdir/*.exe`; if test -f "$$tmp"; then cp "$$tmp" .; fi; done; \ zip -9vv $(ZIPFILE) *.exe README.txt SDL.dll - + +hg-tar: + hg archive -t tgz $(PACKAGE).tar.gz + .dummy: