2004-02-16 21:25:11 +00:00
|
|
|
|
### Make file du projet Janat
|
|
|
|
|
### HEADER HERE
|
|
|
|
|
###
|
|
|
|
|
|
|
|
|
|
PRJNAME=Libnazgul
|
|
|
|
|
GDATE:= $(shell date +"%Y-%m-%d_r%H%M")
|
|
|
|
|
GFILENAME:= $(PRJNAME)-$(GDATE).tar.bz2
|
|
|
|
|
PATH_GFILENAME:= ../$(GFILENAME)
|
|
|
|
|
GFILESIZE:=
|
|
|
|
|
LOCALDIR=$(shell pwd)
|
|
|
|
|
LASTONSERVER = $(shell ssh glenux.ath.cx -l warbrain "ls -rt ~/Projet/Archives/$(PRJNAME)* | tail -n 1")
|
|
|
|
|
#MAILS=warbrain@glenux.ath.cx
|
|
|
|
|
#MAILS=glenuxian@airpost.net rolland@dptmaths.ens-cachan.fr el_shogun@netcourrier.com rolandgl@ufr-info-p7.jussieu.fr
|
|
|
|
|
|
|
|
|
|
all: subdir
|
|
|
|
|
|
|
|
|
|
run:
|
|
|
|
|
( cd src/ ; \
|
|
|
|
|
$(MAKE) run )
|
|
|
|
|
|
|
|
|
|
subdir:
|
2004-02-17 16:43:47 +00:00
|
|
|
|
$(MAKE) -C src/
|
|
|
|
|
$(MAKE) -C test/
|
2004-02-16 21:25:11 +00:00
|
|
|
|
|
|
|
|
|
doc:
|
|
|
|
|
( cd src/ ; \
|
|
|
|
|
$(MAKE) doc )
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
$(MAKE) clean -C src/
|
2004-02-17 16:43:47 +00:00
|
|
|
|
$(MAKE) clean -C test/
|
2004-02-16 21:25:11 +00:00
|
|
|
|
@rm -f *.class *~
|
|
|
|
|
|
|
|
|
|
package: clean createpackage sendtoarchives
|
|
|
|
|
|
|
|
|
|
#mail: clean createpackage sendpackage sendtoarchives
|
|
|
|
|
|
|
|
|
|
createpackage:
|
|
|
|
|
tar -cjvf $(PATH_GFILENAME) -C ../ $(PRJNAME)
|
|
|
|
|
|
|
|
|
|
sendtoarchives:
|
|
|
|
|
mv $(PATH_GFILENAME) ../Archives
|
|
|
|
|
|
|
|
|
|
#sendpackage:
|
|
|
|
|
# (echo -e "\nCi joint le fichier:\n$(shell du -sh $(PATH_GFILENAME))" \
|
|
|
|
|
# && echo -e "\nPour d<>compresser:" \
|
|
|
|
|
# && echo -e "\n\ttar -xjvf $(GFILENAME)\n" \
|
|
|
|
|
# && echo -e "\n(n'oubliez pas de supprimer l'ancien r<>pertoire du m<>me nom avant de d<>compresser)" \
|
|
|
|
|
# && echo -e "\n\nHistorique des modifications :\n" \
|
|
|
|
|
# && cat CHANGELOG ) \
|
|
|
|
|
# | mutt $(MAILS) -a $(PATH_GFILENAME) -s "[$(PRJNAME)] $(GDATE)"
|
|
|
|
|
|