Created
June 27, 2019 20:23
-
-
Save basus/e524fed3a305fe4235ba03eab68c634d to your computer and use it in GitHub Desktop.
Makefile for my pollen-based website
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.POSIX: | |
default: render publish | |
css: css/theme.css | |
top: index.html template.html error.html css js/ | |
about: about/index.html about/pollen.rkt | |
publications: research/publications/index.html research/publications/pollen.rkt | |
research: research/index.html publications | |
render: top about research | |
publish: | |
raco pollen publish $(shell pwd) ~/www/basus | |
%.css: %.css.pp pollen.rkt | |
raco pollen render $< | |
%.html: %.html.p pollen.rkt | |
raco pollen render $? | |
%.html: %.html.pm template.html pollen.rkt | |
raco pollen render $< |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment