summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 311a56a..1bc791f 100644
--- a/Makefile
+++ b/Makefile
@@ -4,10 +4,10 @@ markdown := $(filter-out $(markdown-snippets),$(wildcard *.mdwn))
hypertext = $(subst index/index,index,$(markdown:%.mdwn=%/index.html))
all: $(hypertext) style.css
-update: source all
-source: .git
+update: .git
git pull
+ $(MAKE) all
$(hypertext-snippets): %.html: %.mdwn Makefile
pandoc -f markdown -t html -o $@ $<
@@ -27,5 +27,5 @@ clean:
MAKEFLAGS += --jobs
.NOTPARALLEL: source
-.PHONY: all update source clean
+.PHONY: all update clean
.INTERMEDIATE: $(hypertext-snippets)