summaryrefslogtreecommitdiffstats
path: root/po-docs/Makefile.am
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-03-29 16:07:21 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-03-29 16:07:21 +0100
commit58f7a5a4ac8cce77dfaded1c29f3ad382b4cc9a8 (patch)
tree5606b79e4688f6f65e7f103677f279ffbf69442f /po-docs/Makefile.am
parentedb7501d60a03107c21f023b256d2b01cf116437 (diff)
downloadlibguestfs-58f7a5a4ac8cce77dfaded1c29f3ad382b4cc9a8.tar.gz
libguestfs-58f7a5a4ac8cce77dfaded1c29f3ad382b4cc9a8.tar.xz
libguestfs-58f7a5a4ac8cce77dfaded1c29f3ad382b4cc9a8.zip
Exclude po-docs directory completely if po4a not available.
Lift the if HAVE_PO4A ... endif completely out of the po-docs subdirectory, and just exclude the whole subdirectory if the po4a program is not available.
Diffstat (limited to 'po-docs/Makefile.am')
-rw-r--r--po-docs/Makefile.am10
1 files changed, 1 insertions, 9 deletions
diff --git a/po-docs/Makefile.am b/po-docs/Makefile.am
index c0a916e7..28277702 100644
--- a/po-docs/Makefile.am
+++ b/po-docs/Makefile.am
@@ -1,5 +1,5 @@
# libguestfs translations of man pages and POD files
-# Copyright (C) 2010 Red Hat Inc.
+# Copyright (C) 2010-2011 Red Hat Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -48,13 +48,7 @@ PODFILES = \
../fuse/guestmount.pod \
$(wildcard ../tools/virt-*.pl)
-if HAVE_PO4A
update-po: libguestfs-docs.pot
-else
-update-po:
-endif
-
-if HAVE_PO4A
# Note: po4a leaves empty '=encoding' lines in POD files. Also it
# includes a large warning message which ends up in the output. We
@@ -84,5 +78,3 @@ po4a.conf: $(PODFILES)
echo >> $@-t; \
done;
mv $@-t $@
-
-endif