Blame view

Makefile 533 Bytes
67cec455c   Louis-Claude Canon   Cleaner build
1
2
3
4
5
6
7
8
9
  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
40725eaf2   Louis-Claude Canon   New deployment rule
10
11
12
  deploy: all
  	rsync --recursive --copy-links --times --perms --progress www/* \
  		lccanon@lifc-home.univ-fcomte.fr:public_html/
678e756d8   Louis-Claude Canon   Clean rule
13
  clean:
67cec455c   Louis-Claude Canon   Cleaner build
14
  	-rm ${CAT} data/*.theme data/csv.cat data/csv.theme data/theme.txt www/programme.html 2> /dev/null