summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 6407870..927b642 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -4,9 +4,10 @@ HTML = $(SRC:.md=.html)
all: $(HTML)
%.html: %.md build-page
- sh build-page $< > $@
+ mkdir -p out/$$(dirname $@)
+ sh build-page $< > out/$@
clean:
- rm -f $(HTML)
+ rm -rf out
.PHONY: all clean