build: Check for pod2man instead of perl for manual page generation
[ffmpeg.git] / doc / Makefile
index 58fef0b..fb15896 100644 (file)
@@ -11,7 +11,7 @@ HTMLPAGES   = $(AVPROGS-yes:%=doc/%.html)                               \
               doc/nut.html                                              \
               doc/platform.html                                         \
 
-DOCS-$(CONFIG_PERL)                             += $(MANPAGES) $(PODPAGES)
+DOCS-$(CONFIG_POD2MAN)                          += $(MANPAGES) $(PODPAGES)
 DOCS-$(CONFIG_TEXI2HTML)                        += $(HTMLPAGES)
 DOCS = $(DOCS-yes)
 
@@ -59,7 +59,7 @@ OBJDIRS += doc/examples
 doc/doxy/html: $(SRC_PATH)/doc/Doxyfile $(INSTHEADERS)
        $(M)$(SRC_PATH)/doc/doxy-wrapper.sh $(SRC_PATH) $^
 
-install-progs-$(CONFIG_PERL): install-man
+install-progs-$(CONFIG_POD2MAN): install-man
 install-progs-$(CONFIG_TEXI2HTML): install-doc
 
 install-doc: $(HTMLPAGES)