changeset 46:1a01445cc0a7

Improve the zip packaging a bit.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 24 May 2010 05:45:28 +0300
parents 728a691ffe65
children b556bdc2a365
files Makefile
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Mon May 24 05:44:00 2010 +0300
+++ b/Makefile	Mon May 24 05:45:28 2010 +0300
@@ -89,13 +89,15 @@
 	XLDFLAGS="-s -L$(MINGW64_PATH)/lib/ `$(MINGW64_PATH)/bin/sdl-config --libs` -lwinmm" && \
 	$(MAKE) all
 
+ZIPFILE=pwpunix-1.95-sdl-win32-bin.zip
+
 README.txt: README
 	unix2dos -n $< $@
 
 sdl-win32-zip: clean sdl-win32 README.txt SDL.dll
-	$(RM) pwpunix-1.95-sdl-win32-bin.zip
+	$(RM) $(ZIPFILE)
 	for subdir in $(SUBDIRS); do tmp=`ls $$subdir/*.exe`; if test -f "$$tmp"; then cp "$$tmp" .; fi; done; \
-	zip -9vv pwpunix-1.95-sdl-win32-bin.zip *.exe README.txt SDL.dll
+	zip -9vv $(ZIPFILE) *.exe README.txt SDL.dll
 	
 .dummy: