[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gettext] missing top_builddir def in Makefile.in.in
From: |
Bruno Haible |
Subject: |
Re: [bug-gettext] missing top_builddir def in Makefile.in.in |
Date: |
Sat, 03 Nov 2018 00:40:49 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-137-generic; KDE/5.18.0; x86_64; ; ) |
Hi,
Samuel Thibault wrote:
> When generating po/Makefile.in.in in my project, that file references
> top_builddir in the Makefile dependency:
>
> Makefile: Makefile.in.in Makevars $(top_builddir)/config.status
> @POMAKEFILEDEPS@
> cd $(top_builddir) \
> && @SHELL@ ./config.status $(subdir)/address@hidden po-directories
>
> but that is not defined in the file:
>
> srcdir = @srcdir@
> top_srcdir = @top_srcdir@
> VPATH = @srcdir@
>
> etc.
top_builddir is supposed to be defined in the Makevars file [1].
Do you have a po/Makevars file?
When you ran "gettextize" [2], you should have received this message:
Please create po/Makevars from the template in po/Makevars.template.
You can then remove po/Makevars.template.
Did you not receive it?
Bruno
[1] https://www.gnu.org/software/gettext/manual/html_node/po_002fMakevars.html
[2]
https://www.gnu.org/software/gettext/manual/html_node/gettextize-Invocation.html