|
From: | Vincent Torri |
Subject: | Re: removing a source file for the dist rule |
Date: | Thu, 5 Nov 2009 08:06:51 +0100 (CET) |
On Thu, 5 Nov 2009, Ralf Wildenhues wrote:
* Vincent Torri wrote on Wed, Nov 04, 2009 at 10:48:33PM CET:yes, i've remarked that after having seen the automake warning. But using just nodist_ is not sufficient : make distcheck fails: make[2]: *** No rule to make target `eet_amalgamation.c', needed by `distdir'. Stop.We need to see the exact Makefile.am corresponding to this warning (or a small reproducible example) to be able to help.
The code is below. I have run: make distclean ./configure make distcheck and the error above appears. Vincent Torri MAINTAINERCLEANFILES = Makefile.in AM_CPPFLAGS = \ -I. \ -I$(top_srcdir)/src/lib \ -I$(top_builddir)/src/lib \ -DPACKAGE_BIN_DIR=\"$(bindir)\" \ -DPACKAGE_LIB_DIR=\"$(libdir)\" \ -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ @EVIL_CFLAGS@ \ @EINA_CFLAGS@ \ @EET_CPPFLAGS@ \ @EFL_EET_BUILD@ \ @EFL_COVERAGE_CFLAGS@ \ @OPENSSL_CFLAGS@ \ @GNUTLS_CFLAGS@ include_HEADERS = Eet.h lib_LTLIBRARIES = libeet.la base_sources = \ eet_lib.c \ eet_data.c \ eet_image.c \ eet_cipher.c \ eet_dictionary.c \ eet_node.c \ eet_utils.c 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 libeet_la_SOURCES = $(eet_sources_used) libeet_la_CFLAGS = @EET_CFLAGS@ @DEBUG_CFLAGS@libeet_la_LIBADD = @GNUTLS_LIBS@ @OPENSSL_LIBS@ @EFL_COVERAGE_LIBS@ @EET_LIBS@ @EINA_LIBS@ @EVIL_LIBS@ -lz -ljpeg -lm libeet_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@
EXTRA_DIST = Eet_private.h clean-local: @rm -rf *.gcno eet_amalgamation.c
[Prev in Thread] | Current Thread | [Next in Thread] |