about summary refs log tree commit homepage
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 6eb2be0..7c57b9b 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -16,4 +16,7 @@ clean:
 test: ext/mall/mall.so
         ruby -Iext/mall -rmall test/test_mall.rb
 
-.PHONY: test
+# using rdoc 2.4.1
+doc: .document
+        rdoc -Na -m README.txt -t "$(shell sed -ne '1s/^= //p' README.txt)"
+.PHONY: test doc