@@ -29,10 +29,11 @@ _article_htmls.mark: $(core-files) $(html-deps) template.html.p raco pollen setup articles/ raco pollen render -p -t html articles/*.poly.pm raco pollen setup series/ raco pollen render -p -t html series/*.poly.pm + rm -f template.html series/template.html tidy -quiet -modify -indent --wrap 100 --tidy-mark no articles/*.html || true tidy -quiet -modify -indent --wrap 100 --tidy-mark no series/*.html || true touch _article_htmls.mark # If the rule for article_htmls.mark was triggered, all the article HTML files will already have @@ -56,13 +57,13 @@ keyword-index.html: $(core-files) $(html-deps) $(articles-html) keyword-index.rkt racket -tm keyword-index.rkt tidy -quiet -modify -indent --wrap 100 --tidy-mark no $@ || true -spritz: ## Clear Pollen and Scribble cache - rm -rf compiled code-docs/compiled articles/compiled series/compiled - fossil clean code-docs/ +spritz: ## Clear Pollen and Scribble cache, and remove all HTML output + raco pollen reset + rm -f *.html articles/*.html series/*.html _article_htmls.mark publish: check-env publish: ## Sync all HTML and PDF stuff to the public web server (does not rebuild any files) raco pollen publish ./util/relativize ~/Desktop/publish/