diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-05-04 19:37:37 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-05-04 19:37:37 -0700 |
commit | f4d7d9d14cf65595aa3d98429a6732bd6b007b4a (patch) | |
tree | 48ba97b503d25232b2eab3f89737ed91e2803ff5 | |
parent | 7b1b8a1cbbedc2764d4a8ab0d992f9f2ef73d9b7 (diff) | |
download | ruby_posix_mq-f4d7d9d14cf65595aa3d98429a6732bd6b007b4a.tar.gz |
-rw-r--r-- | .document | 2 | ||||
-rw-r--r-- | GNUmakefile | 9 |
2 files changed, 6 insertions, 5 deletions
@@ -4,4 +4,4 @@ NEWS ChangeLog lib ext/posix_mq/posix_mq.c -posix-mq-rb.1 +posix-mq-rb_1 diff --git a/GNUmakefile b/GNUmakefile index cd485a0..3a31c44 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -17,6 +17,7 @@ endif base_bins := posix-mq-rb bins := $(addprefix bin/, $(base_bins)) +man1_rdoc := $(addsuffix _1, $(base_bins)) man1_bins := $(addsuffix .1, $(base_bins)) man1_paths := $(addprefix man/man1/, $(man1_bins)) @@ -75,10 +76,10 @@ cgit_atom := http://git.bogomips.org/cgit/ruby_posix_mq.git/atom/?h=master atom = <link rel="alternate" title="Atom feed" href="$(1)" \ type="application/atom+xml"/> -# using rdoc 2.4.1+ +# using rdoc 2.5.x+ doc: .document NEWS ChangeLog - for i in $(man1_bins); do > $$i; done - rdoc -Na -t "$(shell sed -ne '1s/^= //p' README)" + for i in $(man1_rdoc); do > $$i; done + rdoc -a -t "$(shell sed -ne '1s/^= //p' README)" install -m644 COPYING doc/COPYING install -m644 $(shell grep '^[A-Z]' .document) doc/ $(MAKE) -C Documentation install-html install-man @@ -95,7 +96,7 @@ doc: .document NEWS ChangeLog doc/NEWS.html doc/README.html $(RAKE) -s news_atom > doc/NEWS.atom.xml cd doc && ln README.html tmp && mv tmp index.html - $(RM) $(man1_bins) + $(RM) $(man1_rdoc) ifneq ($(VERSION),) rfproject := qrp |