From: Maxim Koltsov Date: Mon, 8 Nov 2010 15:10:14 +0000 (+0000) Subject: build: Don't try to rebuild po-docs/ if no po4a. X-Git-Tag: 1.6.2~38 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=c9288079e29d341c1baa93cddacb85744da835b5;p=libguestfs.git build: Don't try to rebuild po-docs/ if no po4a. (cherry picked from commit e5ec461c67820f050b049b41a630069f0efe96d1) --- diff --git a/po-docs/ja/Makefile.am b/po-docs/ja/Makefile.am index 83a2340..0082288 100644 --- a/po-docs/ja/Makefile.am +++ b/po-docs/ja/Makefile.am @@ -41,10 +41,10 @@ EXTRA_DIST = \ libguestfs-test-tool.pod \ $(wildcard virt-*.pl) -all-local: $(MANPAGES) - if HAVE_PO4A +all-local: $(MANPAGES) + guestfs.3: guestfs.pod guestfs-actions.pod guestfs-availability.pod guestfs-structs.pod sed \ -e '/@ACTIONS@/rguestfs-actions.pod' \ @@ -95,6 +95,10 @@ virt-%.1: virt-%.pl --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \ $< > $@-t && mv $@-t $@ +else + +all-local: + endif # XXX Can automake do this properly?