From f4d7d9d14cf65595aa3d98429a6732bd6b007b4a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 4 May 2010 19:37:37 -0700 Subject: doc: updates for RDoc 2.5.x --- .document | 2 +- GNUmakefile | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.document b/.document index 37db68c..1ae5ae7 100644 --- a/.document +++ b/.document @@ -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 = -# 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 -- cgit v1.2.3-24-ge0c7