|Comment:||Makefile: include CSS target, turn off tidy for now since it breaks relativizing|
|Timelines:||family | ancestors | descendants | both | trunk|
|Files:||files | file ages | folders|
|User & Date:||joel on 2019-06-19 23:51:16|
|Other Links:||manifest | tags|
|00:20||Fix disposition links in article headings when they appear in listings check-in: 4206e0ac user: joel tags: trunk|
|23:51||Makefile: include CSS target, turn off tidy for now since it breaks relativizing check-in: 2894ef67 user: joel tags: trunk|
|03:53||Improve accessibility (CSS, contrast) check-in: 89123ed5 user: joel tags: trunk|
Modified makefile from [676239cf] to [7a3d32d6].
16 17 18 19 20 21 22
series-sources := $(wildcard series/*.poly.pm) series-html := $(patsubst %.poly.pm, %.html, $(series-sources)) # ~~~ Rules ~~ # # The order of these dependencies is important. They will be processed left to right.
| | | | | | | > > >
16 17 18 19 20 21 22 24 25 26 27 28 29 30 31 32 33 34 37 38 39 40 41 42 43 45 46 47 48 49 51 52 53 54 55 57 58 59 64 65 66 67 68 69 70
series-sources := $(wildcard series/*.poly.pm) series-html := $(patsubst %.poly.pm, %.html, $(series-sources)) # ~~~ Rules ~~ # # The order of these dependencies is important. They will be processed left to right. web: ## Rebuild all web content (not PDFs) # 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 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 touch _article_htmls.mark # If the rule for article_htmls.mark was triggered, all the article HTML files will already have # been re-rendered. (That rule comes before this one in the list of dependencies for "all") But if # not, any individual files that have been edited will get re-rendered. $(articles-html): %.html: %.poly.pm raco pollen render $@ # Note that if any article is part of a series, it will touch its series .poly.pm file during its # render, triggering this rule for that series. $(series-html): %.html: %.poly.pm raco pollen render $@ # This target will also rebuild pg2, pg3, etc. as needed blog-pg1.html: $(core-files) $(html-deps) $(articles-html) blog.rkt rm -f blog*.html racket -tm blog.rkt keyword-index.html: $(core-files) $(html-deps) $(articles-html) keyword-index.rkt racket -tm keyword-index.rkt 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)