Skip to content

Commit

Permalink
Improved "make package".
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 28, 2001
1 parent 0fe5d82 commit 54e9fbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Expand Up @@ -63,6 +63,7 @@ use_asm = -DUSE_PORTABLE_C
#-----------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#

curdate := $(shell date +%m%d%Y)

#-----------------------------------------------------------------------------#
# CygWin autodetect.
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 54e9fbf

Please sign in to comment.