l3.libnazgul/Makefile

70 lines
1.8 KiB
Makefile
Raw Permalink Normal View History

2004-02-26 11:03:48 +00:00
#-------------------------------------------------------------------%
#
# LIBNAZGUL : Library
#
#-------------------------------------------------------------------%
#
# IUP GMI 2, Module de Syst<73>me. 2003-2004.
# Cours de J-M. Rifflet.
#
#-------------------------------------------------------------------%
#
# Projet de :
# Glenn ROLLAND,
# Sebastian SCHAWOHL,
# Rivka ZANA
#
# pour plus de d<>tails au sujet du projet, voir le
# fichier README
#
#-------------------------------------------------------------------%
2004-02-16 21:25:11 +00:00
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:
2004-02-26 10:52:40 +00:00
$(MAKE) -C doc/rapport
2004-02-16 21:25:11 +00:00
clean:
$(MAKE) clean -C src/
2004-02-17 16:43:47 +00:00
$(MAKE) clean -C test/
2004-02-26 11:12:43 +00:00
$(MAKE) clean -C doc/rapport/
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)"