GNUmakefile 665 B

123456789101112131415161718192021222324
  1. # Sample settings, tweak for particular jobs on make command line or
  2. # via environment variables.
  3. SOURCE_URL := https://git.cryptech.is/
  4. SOURCE_TRAC_DB := bikeshed.cryptech.is:/home/trac/db/trac.db
  5. SOURCE_TRAC_ATTACHMENTS := bikeshed.cryptech.is:/home/trac/files/attachments
  6. all:
  7. ./extract.py --source-url ${SOURCE_URL}
  8. cd pelican; pelican --output website --settings pelicanconf.py --fatal errors content
  9. fetch:
  10. rsync -aP --delete ${SOURCE_TRAC_DB} ${SOURCE_TRAC_ATTACHMENTS} .
  11. clean:
  12. rm -rf wiki pelican
  13. distclean: clean
  14. rm -rf trac.db attachments
  15. webfsd:
  16. webfsd -r pelican/website -4 -L - -F -f index.html
  17. .PHONY: all clean fetch distclean webfsd