# libguestfs
-# Copyright (C) 2009-2010 Red Hat Inc.
+# Copyright (C) 2009-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
endif
# po-docs must come after tools, inspector.
+if HAVE_PO4A
SUBDIRS += po-docs
+endif
EXTRA_DIST = \
$(generator_built) \
# 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
../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
echo >> $@-t; \
done;
mv $@-t $@
-
-endif
# 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
libguestfs-test-tool.pod \
$(wildcard virt-*.pl)
-if HAVE_PO4A
-
all-local: $(MANPAGES)
guestfs.3: guestfs.pod guestfs-actions.pod guestfs-availability.pod guestfs-structs.pod
--man $@ \
$<
-else
-
-all-local:
-
-endif
-
# XXX Can automake do this properly?
install-data-hook:
$(MKDIR_P) $(DESTDIR)$(mandir)/$(LINGUA)/man1