summaryrefslogtreecommitdiff
path: root/Makefile
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
commita780bb8f1e8683258bf4c973caf73477dcc06964 (patch)
tree779fdcead7f7ae4f9beb86e75ced31f2b92bef96 /Makefile
parent5933e7bf81ad135ca41138c3406abb35e6848ad7 (diff)
downloadrabbitmq-server-git-a780bb8f1e8683258bf4c973caf73477dcc06964.tar.gz
Set the page name and section correctly
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index aaa56b9299..7691962901 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)