diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-03-09 12:41:45 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-03-09 12:41:45 -0700 |
commit | f41506636325b9b500c64ca2f1de7877927affe1 (patch) | |
tree | cc03fe18b8b4c6cf60d5a00f71aec5bd808e387d | |
parent | 009cd18927e9cf0bb05b11d6579ff4ad50384b7d (diff) | |
download | unicorn-f41506636325b9b500c64ca2f1de7877927affe1.tar.gz |
Echoe/Rake seems to be loading the wrong version, tired of fighting it and figuring out what it's doing...
-rw-r--r-- | .document | 10 | ||||
-rw-r--r-- | GNUmakefile | 6 | ||||
-rw-r--r-- | Rakefile | 1 |
3 files changed, 15 insertions, 2 deletions
diff --git a/.document b/.document new file mode 100644 index 0000000..d045955 --- /dev/null +++ b/.document @@ -0,0 +1,10 @@ +README +CHANGELOG +CONTRIBUTORS +LICENSE +TODO +bin +lib +ext/**/*.c +ext/**/*.rl +ext/**/*.h 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 @@ -13,7 +13,6 @@ Echoe.new("unicorn") do |p| 'site/output', '.config', 'coverage', 'test_*.log', 'log', 'doc'] p.url = "http://unicorn.bogomips.org" - p.rdoc_pattern = ['README', 'LICENSE', 'CONTRIBUTORS', 'CHANGELOG', 'COPYING', 'lib/**/*.rb', 'doc/**/*.rdoc'] p.ignore_pattern = /^(pkg|site|projects|doc|log)|CVS|\.log/ p.need_tar_gz = false p.need_tgz = true |