diff options
-rw-r--r-- | GNUmakefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile index dd66df7..5213cfc 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -6,10 +6,10 @@ all: $(HTML) %.html: %.md build-page sh build-page $< > $@ -output: $(HTML) - echo $? | xargs -n 1 dirname | xargs -I _ mkdir -p $@/_ - echo $? | xargs -n 1 | xargs -I _ cp _ $@/_ - cp favicon.ico style.css $@/ +output/: $(HTML) + echo $? | xargs -n 1 dirname | xargs -I _ mkdir -p $@_ + echo $? | xargs -n 1 | xargs -I _ cp _ $@_ + cp favicon.ico style.css $@ clean: rm -rf $(HTML) output/ |