diff options
author | Alan Pearce | 2023-09-16 12:34:25 +0200 |
---|---|---|
committer | Alan Pearce | 2023-09-16 12:34:25 +0200 |
commit | b88c1dc84d04ced9c1d1749a458bc938124573bd (patch) | |
tree | 980d7fd5b3a4b19cbfcfa00ea6e9674eef7c73fb /Makefile | |
parent | f27b6cf19a450a45e665e6d2ea16b2cfeb3d9275 (diff) | |
download | website-b88c1dc84d04ced9c1d1749a458bc938124573bd.tar.lz website-b88c1dc84d04ced9c1d1749a458bc938124573bd.tar.zst website-b88c1dc84d04ced9c1d1749a458bc938124573bd.zip |
Fix XML feed style
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile index 0d658d4..d40c117 100644 --- a/Makefile +++ b/Makefile @@ -15,9 +15,16 @@ build: $(PREFIX)/index.html $(PREFIX)/index.html: config.toml $(md_files) zola build --force --output-dir $(PREFIX) +$(PREFIX)/feed-styles.xsl: $(PREFIX)/index.html + mv $(PREFIX)/feed-styles/index.html $@ + rm -fr $(PREFIX)/feed-styles + +postprocess: $(PREFIX)/feed-styles.xsl + touch .postprocessstamp + format: .formatstamp -.formatstamp: $(PREFIX)/index.html +.formatstamp: $(PREFIX)/index.html .postprocessstamp @echo "Formatting HTML..." @prettier --write --parser html --print-width 200 "$(PREFIX)/**/*.html" > /dev/null @touch .formatstamp |