about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-09-17 17:30:41 +0200
committerAlan Pearce2023-09-17 17:30:41 +0200
commit1a7abb3723d6b9db0d199c26d2a207e03636738a (patch)
tree78e670f67967e846ce7d31075330db8e7c078be2
parent47d12511b81636e71ab365622e6866d233aae715 (diff)
downloadwebsite-1a7abb3723d6b9db0d199c26d2a207e03636738a.tar.lz
website-1a7abb3723d6b9db0d199c26d2a207e03636738a.tar.zst
website-1a7abb3723d6b9db0d199c26d2a207e03636738a.zip
Fix incorrect Makefile logic for post-processing
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1911f35..288985d 100644
--- a/Makefile
+++ b/Makefile
@@ -7,12 +7,14 @@ gzip := @gzip --best --keep --force
 zstd := @zstd --force --no-pass-through -19 --quiet --stdout
 pr   := @printf "%4s %s\n"
 
-public/feed-styles.xsl: public/index.html
+public/feed-styles.xsl:
 	@mv public/feed-styles/index.html $@
 	@rm -fr public/feed-styles
 
-postprocess: public/feed-styles.xsl
-	touch .postprocessstamp
+postprocess: .postprocessstamp
+
+.postprocessstamp: public/feed-styles.xsl
+	@touch .postprocessstamp
 
 format: .formatstamp