diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |