On Mon, 21 Jun 2021, Werner LEMBERG wrote:
Now I want to do better :-) However, the problem persists:
`ttfautohintGUI` gets built in the `frontend` directory, and there is
a dependency on the binary in the `doc` directory. Is there a clean
solution for that?
A non-recursive build (a single Ma
> For example, perhaps you have the same "frontend" directory listed
> also in SUBDIRS for some other unrelated makefile? That is probably
> the simplest way this situation could happen.
The problem is as follows.
* In the `frontend` directory, the binary `ttfautohintGUI` is built.
* In the `
On 2021-06-21, Werner LEMBERG wrote:
>
>> The problem is not related to the snippet you posted. The
>> concurrent recursive make invocations are being spawned from
>> somewhere else in your build system.
>
> The `Makefile.am` file one level higher is as follows.
>
> ACLOCAL_AMFLAGS = -I gnulib/
>> The problem is not related to the snippet you posted. The
>> concurrent recursive make invocations are being spawned from
>> somewhere else in your build system.
Found the problem! I was indeed calling `make` concurrently (within
the `doc` directory).
Thanks a lot for your help!
Wern
On 2021-06-21, Warren Young wrote:
> On Jun 21, 2021, at 11:49 AM, Werner LEMBERG wrote:
>>
>> bin_PROGRAMS += ttfautohintGUI
>
> Is Automake smart enough to realize what you’ve done there?
This is not a problem. Automake interprets this assignment syntax
(and outputs a single assignment to bi
> The problem is not related to the snippet you posted. The
> concurrent recursive make invocations are being spawned from
> somewhere else in your build system.
The `Makefile.am` file one level higher is as follows.
ACLOCAL_AMFLAGS = -I gnulib/m4 -I m4
SUBDIRS = gnulib/src \
>> bin_PROGRAMS += ttfautohintGUI
>
> Is Automake smart enough to realize what you’ve done there?
According to the documentation, `+=` is recognized.
> Try listing both output programs on a single bin_PROGRAMS line.
Alas, this doesn't work; it aborts with the same error.
Werner
On 2021-06-21, Werner LEMBERG wrote:
> I have a `Makefile.am` in a `frontend` subdirectory that looks like
> the following (abridged).
[...]
> Running the generated `Makefile` with `make -j12`, I get this:
>
> ...
> Making all in frontend
> make[2]: Entering directory '.../frontend'
> ...
On Jun 21, 2021, at 11:49 AM, Werner LEMBERG wrote:
>
> bin_PROGRAMS += ttfautohintGUI
Is Automake smart enough to realize what you’ve done there?
It seems to me this does something down at the GNU make level that should be
done up at the Automake level, preventing Automake from building its
[automake 1.16.3
autoconf 2.71]
Folks,
I have a `Makefile.am` in a `frontend` subdirectory that looks like
the following (abridged).
bin_PROGRAMS = ttfautohint
ttfautohint_SOURCES = info.cpp \
info.h \
main.cpp
bin_PROGRAMS += ttfautohi
10 matches
Mail list logo