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: scp -r 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