summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Garnock-Jones <tonyg@lshift.net>2008-12-10 16:12:41 +0000
committerTony Garnock-Jones <tonyg@lshift.net>2008-12-10 16:12:41 +0000
commitb6a097208faa456fd9a9702ebef01af0a9dd51a8 (patch)
tree779fdcead7f7ae4f9beb86e75ced31f2b92bef96
parent871b8841a8c869249077b15464b0cc5bbcd82a9b (diff)
downloadrabbitmq-server-b6a097208faa456fd9a9702ebef01af0a9dd51a8.tar.gz
Set the page name and section correctly
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index aaa56b92..76919629 100644
--- a/Makefile
+++ b/Makefile
@@ -142,7 +142,13 @@ distclean: clean
find . -name '*~' -exec rm {} \;
%.gz: %.pod
- pod2man -c "RabbitMQ AMQP Server" -d "" -r "" $< | gzip --best > $@
+ pod2man \
+ -n `echo $$(basename $*) | sed -e 's/\.[^.]\+//'` \
+ -s `echo $$(basename $*) | sed -e 's/.*\.\([^.]\+\)/\1/'` \
+ -c "RabbitMQ AMQP Server" \
+ -d "" \
+ -r "" \
+ $< | gzip --best > $@
docs_all: $(MANPAGES)