Explorar el Código

build: Use the detected pod2man instead of hardcoding the program name

Guillem Jover hace 14 años
padre
commit
8c13ffa8ea
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      scripts/Makefile.am

+ 1 - 1
scripts/Makefile.am

@@ -136,7 +136,7 @@ if BUILD_POD_DOC
 	$(mkdir_p) $(DESTDIR)$(man3dir)
 	for module in $(nobase_dist_perllib_DATA); do \
 	    name=`echo $$module | sed -e 's|/|::|g' -e 's/\.pm$$//'`; \
-	    pod2man --utf8 --center=libdpkg-perl --release=$(VERSION) \
+	    $(POD2MAN) --utf8 --center=libdpkg-perl --release=$(VERSION) \
 		--name="$$name"	--section=3 $(srcdir)/$$module \
 		>$(DESTDIR)$(man3dir)/$$name.3; \
 	    test -s $(DESTDIR)$(man3dir)/$$name.3 || \