From e5ec461c67820f050b049b41a630069f0efe96d1 Mon Sep 17 00:00:00 2001 From: Maxim Koltsov Date: Mon, 8 Nov 2010 15:10:14 +0000 Subject: [PATCH] build: Don't try to rebuild po-docs/ if no po4a. --- po-docs/ja/Makefile.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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? -- 1.8.3.1