* 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'.