aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--txt/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/txt/Makefile b/txt/Makefile
index 0e4cfb45..2c75ab80 100644
--- a/txt/Makefile
+++ b/txt/Makefile
@@ -71,8 +71,11 @@ syslinux.cfg.txt: com-bug.txt com-rpt.txt
# %.html: %.txt
# asciidoc -D html $<
+# Mark as .PHONY so they're ignored if found in VPATH
+.PHONY: html/ man/ text/ xhtml/
+
html/ man/ text/ xhtml/:
- mkdir $@
+ mkdir -p $@
html/%.html: %.txt html/
asciidoc -o $@ $<