Makefile 486 B

1234567891011121314151617181920212223
  1. all: template.tpl content.txt timeline.css
  2. python microblog.py ./template.tpl ./content.txt > result.html
  3. # for people who don't want to read the README
  4. # and want to hit `make` to see how things work.
  5. template.tpl:
  6. cp ./example/default.tpl ./template.tpl
  7. timeline.css:
  8. cp ./example/timeline.css ./timeline.css
  9. content.txt:
  10. cp ./example/demo.txt ./content.txt
  11. .PHONY: clean
  12. clean:
  13. rm ./pages/*.html
  14. rm ./tags/*/*.html
  15. rm lastfullpage.txt
  16. rmdir ./pages ./tags/* ./tags