Makefile 486 B

123456789101112
  1. index.html: index.imm.html
  2. htmlmin -s index.imm.html index.html
  3. style.min.css: style.css
  4. cleancss style.css > style.min.css
  5. script.min.js: script.js
  6. closure-compiler script.js --accept_const_keyword --compilation_level=advanced_optimizations > script.min.js
  7. index.imm.html: guide.md script.min.js style.min.css Makefile
  8. pandoc -f markdown+smart -t html guide.md -o index.imm.html -s --self-contained --template template.html --include-in-header=script.min.js --css=style.min.css