Re: make update-po@master stops at pg_upgrade - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: make update-po@master stops at pg_upgrade
Date
Msg-id 7a03b42b-9c93-7d5a-fb26-c468f762f4ee@enterprisedb.com
Whole thread Raw
In response to Re: make update-po@master stops at pg_upgrade  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: make update-po@master stops at pg_upgrade
List pgsql-hackers
On 13.07.22 19:41, Tom Lane wrote:
> Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
>> Hmm, I got this failure:
>> /usr/bin/xgettext: no se especificó el fichero de entrada
> 
> Hmm ... are you doing this in a VPATH setup?  Does it help
> if you make the entry be
> 
> GETTEXT_FILES    = $(wildcard $(srcdir)/*.c)
> 
> I'd supposed we didn't need to be careful about that, because
> I saw uses of $(wildcard) without it ... but I now see other uses
> with.

Note that we have this in nls-global.mk which tries to avoid having the
vpath details sneak into the output:

po/$(CATALOG_NAME).pot: $(GETTEXT_FILES) $(MAKEFILE_LIST)
# Change to srcdir explicitly, don't rely on $^.  That way we get
# consistent #: file references in the po files.
...
     $(XGETTEXT) -D $(srcdir) -D . -n $(addprefix -k, $(GETTEXT_TRIGGERS)) $(addprefix --flag=, $(GETTEXT_FLAGS))
$(GETTEXT_FILES)



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: make update-po@master stops at pg_upgrade
Next
From: Dmitry Koval
Date:
Subject: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands