From 8decf76a473cd6211af88a40509e657c015d72c3 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sun, 8 Dec 2019 02:37:04 -0500 Subject: [PATCH] fix rebuilding php every time --- wiki/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/wiki/Makefile b/wiki/Makefile index 7b6c59e..7bec8f2 100644 --- a/wiki/Makefile +++ b/wiki/Makefile @@ -4,11 +4,9 @@ DST_HTML_FILES := index.html $(SRC_MD_FILES:source/%.md=%.html) PANDOC != command -v pandoc 2> /dev/null PHP != command -v php 2> /dev/null -all: dep-pandoc $(DST_HTML_FILES) +all: dep-pandoc dep-php $(DST_HTML_FILES) -index.html: index.php - -%.html: %.php dep-php +%.html: %.php php $< > $@ %.html: source/%.md