[gegl] ensure buffer-tests.inc is built before buffer-test
- From: Nils Philippsen <nphilipp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] ensure buffer-tests.inc is built before buffer-test
- Date: Mon, 26 Nov 2012 16:03:48 +0000 (UTC)
commit 0758089aa7c3e222ed44cbc8d2a48ce598ba242e
Author: Nils Philippsen <nils redhat com>
Date: Mon Nov 26 17:03:03 2012 +0100
ensure buffer-tests.inc is built before buffer-test
tests/buffer/Makefile.am | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/tests/buffer/Makefile.am b/tests/buffer/Makefile.am
index 9ed1512..13bed52 100644
--- a/tests/buffer/Makefile.am
+++ b/tests/buffer/Makefile.am
@@ -28,13 +28,15 @@ AM_CPPFLAGS = \
AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
+buffer_test_SOURCES_noinc = buffer-test.c
+buffer_test_SOURCES = $(buffer_test_SOURCES_noinc) buffer-tests.inc
buffer_test_LDADD = \
$(top_builddir)/gegl/libgegl-$(GEGL_API_VERSION).la \
$(DEP_LIBS) $(BABL_LIBS)
# Our custom target rules
-buffer-tests.inc: $(buffer_test_SOURCES) Makefile.am $(wildcard $(top_srcdir)/tests/buffer/tests/*.c)
+buffer-tests.inc: $(buffer_test_SOURCES_noinc) Makefile.am $(wildcard $(top_srcdir)/tests/buffer/tests/*.c)
@echo 'Generating $@'
@echo '/* this file is generated by the build system */' > $@
@for TEST in `ls $(top_srcdir)/tests/buffer/tests/*.c | sed -e s:$(top_srcdir)/tests/buffer/tests/:: -e s:\\\.c::`; do \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]