25
26
27
28
29
30
31
32
33
34
35
36
37
|
25
26
27
28
29
30
31
32
33
34
35
36
37
|
-
+
-
+
|
# The file article_htmls.mark is a zero-byte file that serves only as a marker. If it is older than
# any of its dependencies (or missing) all of the articles will be rebuilt. Its dependencies are
# also on the Pollen cache watchlist (see pollen.rkt)
_article_htmls.mark: $(core-files) $(html-deps) template.html.p
raco pollen setup articles/
raco pollen setup -p articles/
raco pollen render -p -t html articles/*.poly.pm
raco pollen setup series/
raco pollen setup -p series/
raco pollen render -p -t html series/*.poly.pm
rm -f template.html series/template.html
# tidy -quiet -modify -indent --wrap 100 --wrap-attributes no --tidy-mark no articles/*.html || true
# tidy -quiet -modify -indent --wrap 100 --wrap-attributes no --tidy-mark no series/*.html || true
touch _article_htmls.mark
|