1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- DOT_FILES = $(shell find . -name "*.dot")
- SVG_FILES = $(DOT_FILES:.dot=.svg)
- all: $(SVG_FILES) tmp/index.html tmp/index_slides.html tmp/CM1.html tmp/CM1_slides.html tmp/CM2.html tmp/CM2_slides.html tmp/CM3.html tmp/CM3_slides.html
- cp www/template.css www/slidy.css www/slidy.js tmp
- cp CM?/*.png CM?/*.svg tmp
- %.svg: %.dot
- dot -Tsvg -o $@ $<
- tmp/before.html: www/before.md
- mkdir -p tmp
- pandoc -o $@ $<
- tmp/index.html: www/index.md tmp/before.html
- pandoc --template www/template.html --css template.css --toc --toc-depth 1 --include-before tmp/before.html -s -o $@ $<
- tmp/index_slides.html: www/index.md tmp/before.html
- pandoc --css slidy.css --template www/template_slidy.html --toc --toc-depth 1 -t slidy -s -o $@ $<
- tmp/CM1.html: CM1/CM1.md tmp/before.html
- pandoc --template www/template.html --css template.css --toc --toc-depth 1 --include-before tmp/before.html -s -o $@ $<
- tmp/CM1_slides.html: CM1/CM1.md tmp/before.html
- pandoc --css slidy.css --template www/template_slidy.html --toc --toc-depth 1 -t slidy -s -o $@ $<
- tmp/CM2.html: CM2/CM2.md tmp/before.html
- pandoc --template www/template.html --css template.css --toc --toc-depth 1 --include-before tmp/before.html -s -o $@ $<
- tmp/CM2_slides.html: CM2/CM2.md tmp/before.html
- pandoc --css slidy.css --template www/template_slidy.html --toc --toc-depth 1 -t slidy -s -o $@ $<
- tmp/CM3.html: CM3/CM3.md tmp/before.html
- pandoc --template www/template.html --css template.css --toc --toc-depth 1 --include-before tmp/before.html -s -o $@ $<
- tmp/CM3_slides.html: CM3/CM3.md tmp/before.html
- pandoc --css slidy.css --template www/template_slidy.html --toc --toc-depth 1 -t slidy -s -o $@ $<
- publish:
- scp tmp/* yangra.univ-littoral.fr:public-html/enseignements/L3Info_Projets/
- clean:
- rm -rf tmp
|