watch: Main.hs cours/math_tech_info/*.md cours/isc_physics/*.md
	make hakyll_gen -C cours/math_tech_info
	make hakyll_gen -C cours/isc_physics
	make -C cours/math_tech_info
	make -C cours/isc_physics
	make markdown -C cours/prog_seq/slides
	stack build && stack exec blog -- build && stack exec blog -- watch

build_revealjs:
	cd reveal.js && npm install && npm run build && cd ..

clean:
	rm -rf _cache _site 
	make clean -C cours/math_tech_info
	make clean -C cours/isc_physics