>>> "DM" == D M <[EMAIL PROTECTED]> writes:
DM> Hello.
DM> Is is perfectly legal to have following conditional in
DM> Makefile.am:
DM> if SOMETHING
DM> install-data-local:
DM> anything
DM> endif
Yes.
--
Alexandre Duret-Lutz
Shared books are happy books. http://www.bookcross
>>> "BI" == Baurzhan Ismagulov <[EMAIL PROTECTED]> writes:
BI> Hello,
BI> I'm using AUTOMAKE_OPTIONS = dejagnu with automake 1.7.9 and I want to
BI> build check_PROGRAMS without executing them. Is it possible?
You mean building $(check_PROGRAMS) without executing the dejagnu tests?
Just add y
>>> "HD" == Harald Dunkel <[EMAIL PROTECTED]> writes:
HD> Hi folks,
HD> Would it be possible to tell Automake to print some
HD> warning message for this bad Makefile.am:
HD> bin_PROGRAMS += PreciousUtils_checker
HD> PreciousUtils_checker_SOURCES =
HD> precious/Utils/unittest/src/SLL
>>> "SK" == Stepan Kasal <[EMAIL PROTECTED]> writes:
SK> SUFFIXES = .moc.cpp
SK> .h.moc.cpp:
SK> $(MOC) -o $@ $<
SK> On Mon, Sep 05, 2005 at 03:02:28PM -0600, Tom Tromey wrote:
>> I have never tried it but it is somewhat hard to imagine some versions
>> of make accepting a suffix wi
>>> "HD" == Harald Dunkel <[EMAIL PROTECTED]> writes:
HD> Hi folks,
HD> Question about make depend:
HD> If I set
HD> SRCDIR = ../src
HD> noinst_PROGRAMS = hello
HD> hello_SOURCES = ${SRCDIR}/hello.c
HD> in my Makefile.am, then make complains
HD> Makefile:242: ../src/.deps/hello.Po: No
Hello,
On Tue, Sep 13, 2005 at 04:03:36PM +0200, Ralf Wildenhues wrote:
> Anyway, the way the rule is now, if $LN_S is `cp', source files in
> $(INTERFACE_DIR) newer than in `.' will not get copied, which is bad.
well, I supposed that the development happens on system with symlinks.
The fallbacks
* Stepan Kasal wrote on Tue, Sep 13, 2005 at 03:26:57PM CEST:
>
> > You don't need to copy headers. [...]
> > So you can leave out the BUILT_SOURCES line completely.
>
> thanks for correcting me.
>
> > > $(linked_sources):
> > > $(LN_S) '$(INTERFACE_DIR)/$@' '$@'
> >
> > But you need to "rm
Hello Harald, Ralf,
> You don't need to copy headers. [...]
> So you can leave out the BUILT_SOURCES line completely.
thanks for correcting me.
> > $(linked_sources):
> > $(LN_S) '$(INTERFACE_DIR)/$@' '$@'
>
> But you need to "rm -f '$@'" before invoking $(LN_S).
Why? If the file exists,
Hi Stepan, Harald,
* Stepan Kasal wrote on Tue, Sep 13, 2005 at 02:21:43PM CEST:
> On Tue, Sep 13, 2005 at 12:58:45PM +0200, Harald Dunkel wrote:
>
> > > linked_sources = common_interface.c more.c even-more.c
> > > BUILT_SOURCES = $(linked_sources)
> > > $(linked_sources):
> > > list='$(l
Hello Harald,
On Tue, Sep 13, 2005 at 12:58:45PM +0200, Harald Dunkel wrote:
> Of course I appreciate your workaround, but please remember
> that this thread is about generating a meaningfull error
> message for a construct that autoconf/automake cannot
> handle. But maybe there is a way to genera
Hi Ralf,
Ralf Wildenhues wrote:
>
> How about using either
> - a convenience archive, or
> - one single large Makefile.am with subdir-objects
> (see "info Automake Alternative")
>
A convenience library doesn't work, because I have pretty many
different CPP defines, probably set either in conf
Hi Harald,
* Harald Dunkel wrote on Tue, Sep 13, 2005 at 08:24:14AM CEST:
>
> I have some common source files that I have to compile and link
> several times in different contexts. Actually the Makefile.am
> files look more like this:
>
> hello_SOURCES = \
> $(INTERFACE_DIR)/c
On Mon, Sep 12, 2005 at 12:55:51PM -0400, David Ohlemacher wrote:
> How do you install data files? I tried this:
>
> mydatadir = icons
> dist_mydata_DATA = icon1.png icon2.png
>
> I got no errors, but no icons directory either.
you have to specify the full path to the directory, eg.:
mydata
Hi Ian,
* Ian Crowther wrote on Mon, Sep 12, 2005 at 10:46:40PM CEST:
> In a typical c project I find myself duplicating certain things.
What type of things?
> I've solved this problem for some files by creating
> symbolic links to ~/c-lib/*, where common files are saved.
> This works great; "ma
14 matches
Mail list logo