瀏覽代碼

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

Guillem Jover 14 年之前
父節點
當前提交
8c13ffa8ea
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/Makefile.am

+ 1 - 1
scripts/Makefile.am

@@ -136,7 +136,7 @@ if BUILD_POD_DOC
 	$(mkdir_p) $(DESTDIR)$(man3dir)
 	$(mkdir_p) $(DESTDIR)$(man3dir)
 	for module in $(nobase_dist_perllib_DATA); do \
 	for module in $(nobase_dist_perllib_DATA); do \
 	    name=`echo $$module | sed -e 's|/|::|g' -e 's/\.pm$$//'`; \
 	    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 \
 		--name="$$name"	--section=3 $(srcdir)/$$module \
 		>$(DESTDIR)$(man3dir)/$$name.3; \
 		>$(DESTDIR)$(man3dir)/$$name.3; \
 	    test -s $(DESTDIR)$(man3dir)/$$name.3 || \
 	    test -s $(DESTDIR)$(man3dir)/$$name.3 || \