summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--d/dev/sys/howto/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/d/dev/sys/howto/Makefile b/d/dev/sys/howto/Makefile
index 9c70a58..f24cb84 100644
--- a/d/dev/sys/howto/Makefile
+++ b/d/dev/sys/howto/Makefile
@@ -1,4 +1,10 @@
-doc: howto-sys.html
+DOC = howto-sys.html
+
+doc: $(DOC)
%.html: %.txt
aft $<
+ test -r $<-TOC && aft $< || true
+
+clean:
+ rm -f $(DOC) *.txt-TOC *.bak *~