This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: I can't set up Makefile.am for data directory & avoid 'No rule
- From: <cs at gnumatica dot com>
- To: duret_g at lrde dot epita dot fr
- Cc: automake at gnu dot org
- Date: Mon, 12 May 2003 13:42:25 -0700 (MST)
- Subject: Re: I can't set up Makefile.am for data directory & avoid 'No rule
- References: <2003-05-11-22-15-43+21939+duret_g@lrde.epita.fr>
Alexandre
Thanks for the email. I really appreciate it. I just
checked and my data directory does NOT have a Makefile.
I have a Makefile.am in it with just EXTRA_DIST.
Running configure script did NOT create Makefile but
rather just ignored that directory.
This makes sense I think because a Makefile.am with *just*
EXTRA_DIST does not have a bin_PROGRAMS line
or a name_LIBRARIES line. There is *nothing* to build!!!
Correct me if I'm wrong but I don't think you can have
a Makefile.am in s sub-sub-directory with JUST
EXTRA_DIST files.
Chris
-------- Original Message --------
Subject: Re: I can't set up Makefile.am for data directory & avoid "No
rule From: Alexandre Duret-Lutz <duret_g@lrde.epita.fr>
Date: Sun, May 11, 2003 1:15 pm
To: <cs@gnumatica.com>
>>> <cs@gnumatica.com> writes:
> I carefully set up Makefile.am for a data directory like so...
> mydatadir = $(pkgdatadir)/blah
> dist_mydata_DATA = datafile1 datafile2 ...
> EXTRA_DIST = $(dist_mydata_DATA)
The third line is superfluous.
> Everytime I do make (from top level directory) it says
> "No rule to make target `all'"
> How avoid this?
Does Makefile exist in this directory?
--
Alexandre Duret-Lutz