doc/Makefile: generate library headers with the correct section number
authorStefano Sabatini <stefasab@gmail.com>
Sun, 11 Nov 2012 11:50:44 +0000 (12:50 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Sun, 11 Nov 2012 13:06:27 +0000 (14:06 +0100)
doc/Makefile

index 4c89d7f..d0b4dfc 100644 (file)
@@ -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/