l3.cas-d-astre/Makefile

35 lines
544 B
Makefile
Raw Normal View History

2009-05-01 08:39:36 +00:00
PRJNAME=CasDAstre
GDATE:= $(shell date +"%Y-%m-%d_r%H%M")
GFILENAME:= $(PRJNAME)-$(GDATE).tar.bz2
PATH_GFILENAME:= ../$(GFILENAME)
LOCALDIR=$(shell pwd)
all: nothing
nothing:
# do nothing
update: clean
./tools/cda-update
myupdate: clean
./tools/mycda-update
clean:
rm -f *.php~
$(MAKE) -C doc clean
package: clean createpackage sendtoarchives
createpackage:
#mv lib ../lib$(GDATE)
tar -cjvf $(PATH_GFILENAME) -C ../ $(PRJNAME)
#mv ../lib$(GDATE) lib
sendtoarchives:
mkdir -p ../Archives
mv $(PATH_GFILENAME) ../Archives