chiark / gitweb /
usvg processing: Add dependency on Makefile
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 27 Sep 2020 19:54:36 +0000 (20:54 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 27 Sep 2020 19:54:36 +0000 (20:54 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Makefile

index d7eaf616431e87dffcd8b5ae171a769d9b1eb8fe..fb31eb6b61d43a81f30e8c1bedf7a61cc07c7109 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -37,8 +37,8 @@ endif
 include $(wildcard library/*/files.make)
 
 USVG_PROCESSOR = usvg-processor
-LIBRARY_PROCESS_SVG = ./$(USVG_PROCESSOR) $@ $(filter-out $(USVG_PROCESSOR),$^) '$(USVG)'
-$(LIBRARY_FILES): $(USVG_PROCESSOR)
+LIBRARY_PROCESS_SVG = ./$(USVG_PROCESSOR) $@ $(wordlist 1,2,$^) '$(USVG)'
+$(LIBRARY_FILES): $(USVG_PROCESSOR) Makefile
 
 assets: templates/script.js libraries