Fix the build

This commit is contained in:
Matthias Clasen 2016-01-03 12:05:57 -05:00
parent f7a93c015c
commit 489928cbb4

View File

@ -10,26 +10,29 @@ test_in_files = test-css-nodes.test.in
check_PROGRAMS = $(TEST_PROGS) check_PROGRAMS = $(TEST_PROGS)
test_css_nodes_CFLAGS = \ test_css_nodes_CFLAGS = \
-I$(top_srcdir) \ -I$(top_srcdir) \
-I$(top_builddir)/gdk \ -I$(top_builddir)/gdk \
-I$(top_srcdir)/gdk \ -I$(top_srcdir)/gdk \
$(GTK_DEBUG_FLAGS) \ $(GTK_DEBUG_FLAGS) \
$(GTK_DEP_CFLAGS) $(GTK_DEP_CFLAGS) \
$(NULL)
test_css_nodes_LDADD = \ test_css_nodes_LDADD = \
$(top_builddir)/gdk/libgdk-3.la \ $(top_builddir)/gdk/libgdk-3.la \
$(top_builddir)/gtk/libgtk-3.la \ $(top_builddir)/gtk/libgtk-3.la \
$(GTK_DEP_LIBS) $(GTK_DEP_LIBS) \
$(NULL)
test_css_nodes_SOURCES = \ test_css_nodes_SOURCES = \
test-css-nodes.c test-css-nodes.c \
$(NULL)
test_data = \ test_data = \
buttons.ui buttons.nodes \ buttons.ui buttons.nodes \
entries.ui entries.nodes \ entries.ui entries.nodes \
levelbar.ui levelbar.nodes \ levelbar.ui levelbar.nodes \
notebook.ui notebook.nodes \ notebook.ui notebook.nodes \
progressbar.ui progressbar.nodes \ progressbar.ui progressbar.nodes \
$(NULL) $(NULL)
EXTRA_DIST += $(test_in_files) $(test_data) EXTRA_DIST += $(test_in_files) $(test_data)
@ -40,13 +43,13 @@ insttest_PROGRAMS = $(TEST_PROGS)
insttest_DATA = $(test_data) insttest_DATA = $(test_data)
substitutions = \ substitutions = \
-e s,@libexecdir\@,$(libexecdir),g \ -e s,@libexecdir\@,$(libexecdir),g \
$(NULL) $(NULL)
test_files = $(test_in_files:.test.in=.test) test_files = $(test_in_files:.test.in=.test)
$(test_files): %.test: %.test.in $(test_files): %.test: %.test.in
$(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@ $(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
EXTRA_DIST += $(test_files) EXTRA_DIST += $(test_files)