summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-11-11 12:50:44 +0100
committerStefano Sabatini <stefasab@gmail.com>2012-11-11 14:06:27 +0100
commitc0aff4064d3990d467d976530ef45b51062fb366 (patch)
treeddd546fa41bb05d0b04093887bda7ff506280599 /doc/Makefile
parent6f78ba8b0b40ce0f4daea4fa6659cdc52bbce400 (diff)
doc/Makefile: generate library headers with the correct section number
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 4c89d7f5c4..d0b4dfc4aa 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -55,8 +55,10 @@ doc/%.pod: doc/%.texi $(GENTEXI)
$(M)perl $(SRC_PATH)/doc/texi2pod.pl -Idoc $< $@
doc/%.1 doc/%.3: TAG = MAN
-doc/%.1 doc/%.3: doc/%.pod $(GENTEXI)
+doc/%.1: doc/%.pod $(GENTEXI)
$(M)pod2man --section=1 --center=" " --release=" " $< > $@
+doc/%.3: doc/%.pod $(GENTEXI)
+ $(M)pod2man --section=3 --center=" " --release=" " $< > $@
$(DOCS) doc/doxy/html: | doc/