Makefile 533 Bytes
FORMATION=besançon2_CMI besançon2 besançon bordeaux dijon_EI dijon_MI grenoble lyon nancy rennes
DATA=$(addsuffix .csv, $(addprefix data/, ${FORMATION}))
CAT=$(addsuffix .cat, ${DATA})

all: www/programme.html
%.cat: %
	./parse.sh $<
www/programme.html: www/programme.template ${CAT}
	./build.sh
deploy: all
	rsync --recursive --copy-links --times --perms --progress www/* \
		lccanon@lifc-home.univ-fcomte.fr:public_html/
clean:
	-rm ${CAT} data/*.theme data/csv.cat data/csv.theme data/theme.txt www/programme.html 2> /dev/null