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.7.3~2 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=e5ec461c67820f050b049b41a630069f0efe96d1 build: Don't try to rebuild po-docs/ if no po4a. --- 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?