nls-global.mk: search build dir for source files, too

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 5b3cd1a771a609306c057969094cd31c0fee00d3
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2016-06-07T22:55:18Z
Releases: 9.5.4
nls-global.mk: search build dir for source files, too

In VPATH builds, the build directory was not being searched for files in
GETTEXT_FILES, leading to failure to construct the .pot files.  This has
bit me all along, but never hard enough to get it fixed; I suppose not a
lot of people uses VPATH and NLS-enabled builds, and those that do,
don't do "make update-po" often.

This is a longstanding problem, so backpatch all the way back.

Files

PathChange+/−
src/nls-global.mk modified +2 −2