diff options
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -7,7 +7,9 @@ all: public/index.html $(addsuffix .html,$(articles)) public/%.html: public/%.md pagerender.rb template.erb Makefile ./pagerender.rb $< > $@ -public/index.md: $(addsuffix .md,$(articles)) index.rb Makefile - ./index.rb $(filter-out Makefile index.rb public/index.md,$^) > $@ +public/index.md: public/ $(addsuffix .md,$(articles)) index.rb Makefile + ./index.rb $(filter-out public/ index.rb Makefile $@,$^) > $@ + touch public/ + touch $@ clean: rm -f -- public/*.html public/index.md |