From 54e9fbfea58d8a6e160d5676bccfbd01f78a2bfd Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sat, 28 Jul 2001 13:39:55 +0000 Subject: [PATCH] Improved "make package". --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1d7925d8..3296f0ad 100644 --- a/Makefile +++ b/Makefile @@ -63,6 +63,7 @@ use_asm = -DUSE_PORTABLE_C #-----------------------------------------------------------------------------# #-----------------------------------------------------------------------------# +curdate := $(shell date +%m%d%Y) #-----------------------------------------------------------------------------# # CygWin autodetect. @@ -240,7 +241,7 @@ BINSCOMMON := LICENSE.TXT physfs.h .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)