summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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)