[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No rule to make target '', needed by 'all-am'

From: Mathieu Lirzin
Subject: Re: No rule to make target '', needed by 'all-am'
Date: Fri, 29 Sep 2017 17:37:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)


Sascha Manns <address@hidden> writes:

> i have a project what provides a file called "". This isnt
> generated and should just installed in $(datadir)/bzrmk.
> For doing that i have a src/
> bzrmkdir = $(datadir)/bzrmk/
> # Not generated
> bzrmk_DATA =
> 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 '', needed by 'all-
> am'.  Stop.
> make[3]: Leaving directory '/build/bzrmk-1.2.1/src'
> Makefile:464: recipe for target 'all-recursive' failed
> Full project's url:
> trunk/files

When building from this repository, I have no issue with the

> Maybe anyone knows why make searches for a rule?

My guess is that you are trying to build from a tarball generated with
'make dist'.  If my guess is correct, then the issue is that
'src/' is not distributed.  As described in the manual [1], 'DATA'
files are not distributed by default. so you need to prepend 'dist_' to


Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37


reply via email to

[Prev in Thread] Current Thread [Next in Thread]