Makefile
changeset 56 6a04b6c1db0e
parent 43 8a68085acebf
child 58 3b48a08a4892
--- a/Makefile	Sat Jul 28 13:08:14 2001 +0000
+++ b/Makefile	Sat Jul 28 13:39:55 2001 +0000
@@ -63,6 +63,7 @@
 #-----------------------------------------------------------------------------#
 #-----------------------------------------------------------------------------#
 
+curdate := $(shell date +%m%d%Y)
 
 #-----------------------------------------------------------------------------#
 # CygWin autodetect.
@@ -240,7 +241,7 @@
 
 .PHONY: package msbins win32bins nocygwin
 package: clean
-	cd .. ; zip -9rz ./physfs-src-$(shell date +%m%d%Y).zip physfs -x "*CVS*" < physfs/FILEID.DIZ
+	cd .. ; mv physfs physfs-$(curdate) ; tar -cyvvf ./physfs-$(curdate).tar.bz2 --exclude="*CVS*" physfs-$(curdate) ; mv physfs-$(curdate) physfs
 
 
 ifeq ($(strip $(cygwin)),true)