summaryrefslogtreecommitdiff
path: root/test/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile.am')
-rw-r--r--test/Makefile.am11
1 files changed, 4 insertions, 7 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 6e03910c..a0523932 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -69,11 +69,8 @@ test_sources += $(test)
TESTS += cairo-test-suite$(EXEEXT)
-make-cairo-test-constructors$(EXEEXT): make-cairo-test-constructors.c
- $(CC_FOR_BUILD) $^ -o $@
-
-cairo-test-constructors.c: Makefile $(test_sources) make-cairo-test-constructors$(EXEEXT)
- ./make-cairo-test-constructors$(EXEEXT) $(srcdir) $(test_sources) > $@
+cairo-test-constructors.c: Makefile $(test_sources) make-cairo-test-constructors.sh
+ (cd $(srcdir) && sh ./make-cairo-test-constructors.sh $(test_sources)) > $@
cairo_test_suite_SOURCES = \
$(cairo_test_suite_sources) \
@@ -121,8 +118,8 @@ cairo_test_trace_DEPENDENCIES = \
endif
BUILT_SOURCES += cairo-test-constructors.c
-EXTRA_DIST += $(BUILT_SOURCES) $(noinst_SCRIPTS) COPYING make-cairo-test-constructors.c
-CLEANFILES += $(BUILT_SOURCES) make-cairo-test-constructors
+EXTRA_DIST += $(BUILT_SOURCES) $(noinst_SCRIPTS) COPYING make-cairo-test-constructors.sh
+CLEANFILES += $(BUILT_SOURCES)
# All tests which have a reference image go here.
REFERENCE_IMAGES = \