35 lines
544 B
Makefile
35 lines
544 B
Makefile
|
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
|
||
|
|