[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: No rule to make target 'bzr.mk', needed by 'all-am'
From: |
Nick Bowler |
Subject: |
Re: No rule to make target 'bzr.mk', needed by 'all-am' |
Date: |
Fri, 29 Sep 2017 11:27:59 -0400 |
On 9/29/17, Sascha Manns <address@hidden> wrote:
> Am Freitag, den 29.09.2017, 16:26 +0200 schrieb Sascha Manns:
>> i have a project what provides a file called "bzr.mk". This isnt
>> generated and should just installed in $(datadir)/bzrmk.
>> [...]
>> bzrmk_DATA = bzr.mk
>>
>> But while building the package i'm getting:
>> Making all in src
>> make[3]: Entering directory '/build/bzrmk-1.2.1/src'
>> make[3]: *** No rule to make target 'bzr.mk', needed by 'all-
>> am'. Stop.
>> make[3]: Leaving directory '/build/bzrmk-1.2.1/src'
>> Makefile:464: recipe for target 'all-recursive' failed
>
> I found it out. I'll did the from a tarball, generated with make dist.
> Now i changed the src/Makefile.am, and included the bzr.mk in
> EXTRA_DIST.
That'll work. Alternately you can use the dist_ prefix[1], e.g.,
dist_bzrmk_DATA = brz.mk
[1]
https://www.gnu.org/software/automake/manual/automake.html#Fine_002dgrained-Distribution-Control
Cheers,
Nick