Explorar o código

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

Guillem Jover %!s(int64=14) %!d(string=hai) anos
pai
achega
8c13ffa8ea
Modificáronse 1 ficheiros con 1 adicións e 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 || \