Ver código fonte

Improved "make package".

Ryan C. Gordon 24 anos atrás
pai
commit
54e9fbfea5
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      Makefile

+ 2 - 1
Makefile

@@ -63,6 +63,7 @@ use_asm = -DUSE_PORTABLE_C
 #-----------------------------------------------------------------------------#
 #-----------------------------------------------------------------------------#
 #-----------------------------------------------------------------------------#
 #-----------------------------------------------------------------------------#
 
 
+curdate := $(shell date +%m%d%Y)
 
 
 #-----------------------------------------------------------------------------#
 #-----------------------------------------------------------------------------#
 # CygWin autodetect.
 # CygWin autodetect.
@@ -240,7 +241,7 @@ BINSCOMMON := LICENSE.TXT physfs.h
 
 
 .PHONY: package msbins win32bins nocygwin
 .PHONY: package msbins win32bins nocygwin
 package: clean
 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)
 ifeq ($(strip $(cygwin)),true)