about summary refs log tree commit homepage
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 0992767..63a5bd0 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -104,4 +104,8 @@ Manifest:
         cmp $@+ $@ || mv $@+ $@
         $(RM) -f $@+
 
-.PHONY: $(T) $(slow_tests) Manifest
+# using rdoc 2.4.1
+doc: .document
+        rdoc -Na -m README -t "$(shell sed -ne '1s/^= //p' README)"
+
+.PHONY: doc $(T) $(slow_tests) Manifest