mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
Add full docs pot file.
This commit is contained in:
@@ -20,7 +20,7 @@ include $(top_srcdir)/subdir-rules.mk
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
# Basic source for the library.
|
||||
SUBDIRS = gnulib/lib images src examples po po-docs
|
||||
SUBDIRS = gnulib/lib images src examples po
|
||||
|
||||
if ENABLE_DAEMON
|
||||
SUBDIRS += daemon
|
||||
@@ -68,6 +68,9 @@ if HAVE_FUSE
|
||||
SUBDIRS += fuse
|
||||
endif
|
||||
|
||||
# po-docs must come after tools, inspector.
|
||||
SUBDIRS += po-docs
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(generator_built) \
|
||||
html/pod.css \
|
||||
|
||||
25865
po-docs/ja.po
25865
po-docs/ja.po
File diff suppressed because it is too large
Load Diff
@@ -23,7 +23,6 @@ LINGUA = $(shell basename -- `pwd`)
|
||||
|
||||
CLEANFILES = *.1 *.3
|
||||
|
||||
# Ship the final translated manpages in the tarball.
|
||||
MANPAGES = \
|
||||
guestfs.3 \
|
||||
guestfish.1 \
|
||||
@@ -31,10 +30,21 @@ MANPAGES = \
|
||||
guestmount.1 \
|
||||
$(patsubst %.pl,%.1,$(wildcard virt-*.pl))
|
||||
|
||||
EXTRA_DIST = $(MANPAGES)
|
||||
# Ship the POD files and the translated manpages in the tarball. This
|
||||
# just simplifies building from the tarball, at a small cost in extra
|
||||
# size.
|
||||
EXTRA_DIST = \
|
||||
$(MANPAGES) \
|
||||
guestfs.pod guestfs-actions.pod guestfs-availability.pod guestfs-structs.pod \
|
||||
guestfish.pod guestfish-actions.pod \
|
||||
guestmount.pod \
|
||||
libguestfs-test-tool.pod \
|
||||
$(wildcard virt-*.pl)
|
||||
|
||||
all-local: $(MANPAGES)
|
||||
|
||||
if HAVE_PO4A
|
||||
|
||||
guestfs.3: guestfs.pod guestfs-actions.pod guestfs-availability.pod guestfs-structs.pod
|
||||
sed \
|
||||
-e '/@ACTIONS@/rguestfs-actions.pod' \
|
||||
@@ -84,6 +94,8 @@ virt-%.1: virt-%.pl
|
||||
--release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
|
||||
$< > $@-t && mv $@-t $@
|
||||
|
||||
endif
|
||||
|
||||
# XXX Can automake do this properly?
|
||||
install-data-hook:
|
||||
$(MKDIR_P) $(DESTDIR)$(mandir)/$(LINGUA)/man1
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user