]> git.ipfire.org Git - thirdparty/libvirt.git/commit
po: Drop prefixes from POTFILES.in
authorAndrea Bolognani <abologna@redhat.com>
Mon, 16 May 2022 14:46:16 +0000 (16:46 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 23 May 2022 11:58:24 +0000 (13:58 +0200)
commit4172d1aedc74835e8a684abe97e6574ba85f9d1d
tree15bc7e485ae5b80da8245809f689ded7c5ca2b04
parent325dd585fb81b642dfc335bea7ec7ae5d81161b1
po: Drop prefixes from POTFILES.in

Commit 8beb7fdd0e23 changed the handling of POTFILES so that it
could cope with files being located in either the source or build
directory: it did so by adding @SRCDIR@ and @BUILDDIR@
respectively at the beginning of each line, and then converting
them back to the actual values when generating POTFILES from
POTFILES.in.

Later, commit c6a0d3ff8b4e started passing --directory to
xgettext, which resulted in the tool being able to locate files
regardless of whether they are in the source or build directory.
However, @SRCDIR@ and @BUILDDIR@ were still added to POTFILES.in
only to be stripped when generating POTFILES.

Simplify things by not storing information that we know we're
going to discard later.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
build-aux/syntax-check.mk
po/POTFILES.in