all repos — website @ 1a7abb3723d6b9db0d199c26d2a207e03636738a

My website

Fix incorrect Makefile logic for post-processing
Alan Pearce alan@alanpearce.eu
Sun, 17 Sep 2023 17:30:41 +0200
commit

1a7abb3723d6b9db0d199c26d2a207e03636738a

parent

47d12511b81636e71ab365622e6866d233aae715

1 files changed, 5 insertions(+), 3 deletions(-)

jump to
M MakefileMakefile
@@ -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