build: let xgettext see strings in libvirt-guests

* tools/libvirt-guests.init.in: Rename...
* tools/libvirt-guests.init.sh: ...so that xgettext's language
detection via suffix will work.
* po/POTFILES.in: Update all references.
* tools/Makefile.am (EXTRA_DIST, libvirt-guests.init): Likewise.
This commit is contained in:
Eric Blake 2011-01-06 12:00:30 -07:00
parent a9e31a4769
commit 7f193757ef
3 changed files with 3 additions and 3 deletions

View File

@ -118,5 +118,5 @@ src/xen/xs_internal.c
src/xenapi/xenapi_driver.c
src/xenapi/xenapi_utils.c
tools/console.c
tools/libvirt-guests.init.in
tools/libvirt-guests.init.sh
tools/virsh.c

View File

@ -13,7 +13,7 @@ EXTRA_DIST = \
virt-xml-validate.in \
virt-pki-validate.in \
virsh.pod \
libvirt-guests.init.in \
libvirt-guests.init.sh \
libvirt-guests.sysconf
bin_SCRIPTS = virt-xml-validate virt-pki-validate
@ -144,7 +144,7 @@ uninstall-init:
BUILT_SOURCES += libvirt-guests.init
libvirt-guests.init: libvirt-guests.init.in $(top_builddir)/config.status
libvirt-guests.init: libvirt-guests.init.sh $(top_builddir)/config.status
$(AM_V_GEN)sed \
-e 's!\@PACKAGE\@!$(PACKAGE)!g' \
-e 's!\@bindir\@!$(bindir)!g' \