diff options
Diffstat (limited to '')
-rw-r--r-- | v2/dynamic.mk | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/v2/dynamic.mk b/v2/dynamic.mk index ef7d24c..c0a3132 100644 --- a/v2/dynamic.mk +++ b/v2/dynamic.mk @@ -7,7 +7,7 @@ include generated.mk .SUFFIXES: -.SUFFIXES: .page .md .content .conf .html .categoryentry .indexentry .xmlentry .uncolored +.SUFFIXES: .page .md .content .conf .html .categoryentry .indexentry .xmlentry .mapentry .uncolored .page.md: @@ -33,6 +33,9 @@ include generated.mk .md.xmlentry: xmlentry $< > $@ +.md.mapentry: + mapentry $< > $@ + .uncolored: printf '%s\n%s\n%s\n' \ "`head -n2 $<`" \ @@ -71,7 +74,9 @@ i18n-index.sentinel: po/i18n.mappings clean: rm -rf \ $(all-generated) $(pages-mds) $(svgs) public/ *.sentinel \ - generated.mk po/po4a.cfg src/content/.gitignore \ + generated.mk po/po4a.cfg po/*.mo \ + src/lib/generated.conf src/lib/generated.*.conf \ + src/content/.gitignore src/content/sitemap.xml \ src/content/*/*.category src/content/*/*/*.category \ src/content/*/*.categorysort src/content/*/*/*.categorysort \ src/content/*/*.html src/content/*/*/*.html \ @@ -83,7 +88,6 @@ clean: src/content/*/feed.*.xml src/content/*/*/feed.*.xml \ src/content/*/*.md.next src/content/*/*/*.md.next \ src/content/*/*.md.prev src/content/*/*/*.md.prev \ - src/lib/generated.conf src/lib/generated.*.conf po/*.mo \ public: symlink-mappings.sentinel copy-content.sentinel copy-containers.sentinel @@ -94,6 +98,7 @@ content = \ $(all-generated.xml) \ $(static-content) \ $(svgs) \ + src/content/sitemap.xml \ containers = \ $(all-generated.snippets) \ @@ -101,6 +106,9 @@ containers = \ $(all-generated.extrafeeds) \ +src/content/sitemap.xml: $(all-generated.mapentry) + sitemap > $@ + symlink-mappings.sentinel: src/redirect.mappings awk '{print $$2}' src/redirect.mappings | \ xargs dirname | \ |