automake
[Top][All Lists]
Advanced

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

Re: removing a source file for the dist rule


From: Ralf Wildenhues
Subject: Re: removing a source file for the dist rule
Date: Thu, 5 Nov 2009 08:40:43 +0100
User-agent: Mutt/1.5.20 (2009-08-17)

* Vincent Torri wrote on Thu, Nov 05, 2009 at 08:06:51AM CET:
> >>using just nodist_ is not sufficient : make distcheck fails:
> >>
> >>make[2]: *** No rule to make target `eet_amalgamation.c', needed by 
> >>`distdir'.  Stop.

> if EET_AMALGAMATION
> eet_sources_used = eet_amalgamation.c
> BUILT_SOURCES = eet_amalgamation.c
> 
> eet_amalgamation.c: $(base_sources) Makefile
>       -rm -f eet_amalgamation.c
> 
>       @echo "foo" >> eet_amalgamation.c
> 
> else
> eet_sources_used = $(base_sources)
> endif
> 
> nodist_libeet_la_SOURCES = eet_amalgamation.c

Put this line inside the 'if EET_AMALGAMATION'.

Cheers,
Ralf




reply via email to

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