[glib] build: Fix usage of %.test again
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] build: Fix usage of %.test again
- Date: Fri, 24 May 2013 21:17:39 +0000 (UTC)
commit 0b167b0ae964fcd999ccf8a9fdc41804df936a28
Author: Colin Walters <walters verbum org>
Date: Fri May 24 22:16:44 2013 +0100
build: Fix usage of %.test again
We actually need the first dependency because it includes the
final executable name. Rather, fix the original bug by using
the variable $(EXEEXT).
gio/tests/Makefile.am | 2 +-
glib/tests/Makefile.am | 2 +-
gobject/tests/Makefile.am | 2 +-
tests/Makefile.am | 2 +-
tests/gobject/Makefile.am | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gio/tests/Makefile.am b/gio/tests/Makefile.am
index 3a7b9e4..56950fb 100644
--- a/gio/tests/Makefile.am
+++ b/gio/tests/Makefile.am
@@ -526,7 +526,7 @@ xfail_tests = desktop-app-info.test
developer_only_tests = gsettings.test
testmeta_DATA = $(filter-out $(xfail_tests) $(developer_only_tests),$(test_progs:=.test))
-%.test: Makefile
+%.test: %$(EXEEXT) Makefile
$(AM_V_GEN) (echo '[Test]' > $ tmp; \
echo 'Type=session' >> $ tmp; \
echo 'Exec=env G_TEST_DATA=$(pkglibexecdir)/installed-tests $(pkglibexecdir)/installed-tests/$<' >>
$ tmp; \
diff --git a/glib/tests/Makefile.am b/glib/tests/Makefile.am
index cd4bdb4..0ed7d21 100644
--- a/glib/tests/Makefile.am
+++ b/glib/tests/Makefile.am
@@ -175,7 +175,7 @@ markupsdir=$(insttestdir)/markups
markups_DATA = $(all_markup_test_files)
endif
-%.test: Makefile
+%.test: %$(EXEEXT) Makefile
$(AM_V_GEN) (echo '[Test]' > $ tmp; \
echo 'Type=session' >> $ tmp; \
echo 'Exec=env G_TEST_DATA=$(pkglibexecdir)/installed-tests $(pkglibexecdir)/installed-tests/$<' >>
$ tmp; \
diff --git a/gobject/tests/Makefile.am b/gobject/tests/Makefile.am
index b05c23a..7ac008a 100644
--- a/gobject/tests/Makefile.am
+++ b/gobject/tests/Makefile.am
@@ -53,7 +53,7 @@ insttest_PROGRAMS = $(TEST_PROGS)
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
testmeta_DATA = $(TEST_PROGS:=.test)
-%.test: Makefile
+%.test: %$(EXEEXT) Makefile
$(AM_V_GEN) (echo '[Test]' > $ tmp; \
echo 'Type=session' >> $ tmp; \
echo 'Exec=env G_TEST_DATA=$(pkglibexecdir)/installed-tests $(pkglibexecdir)/installed-tests/$<' >>
$ tmp; \
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 984447d..a5493b9 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -146,7 +146,7 @@ testmeta_DATA = $(test_programs:=.test)
insttest_DATA = $(test_data)
-%.test: Makefile
+%.test: %$(EXEEXT) Makefile
$(AM_V_GEN) (echo '[Test]' > $ tmp; \
echo 'Type=session' >> $ tmp; \
echo 'Exec=env G_TEST_DATA=$(pkglibexecdir)/installed-tests $(pkglibexecdir)/installed-tests/$<' >>
$ tmp; \
diff --git a/tests/gobject/Makefile.am b/tests/gobject/Makefile.am
index 6fd296d..7748dd1 100644
--- a/tests/gobject/Makefile.am
+++ b/tests/gobject/Makefile.am
@@ -85,7 +85,7 @@ insttest_PROGRAMS = $(test_programs)
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
testmeta_DATA = $(test_programs:=.test)
-%.test: Makefile
+%.test: %$(EXEEXT) Makefile
$(AM_V_GEN) (echo '[Test]' > $ tmp; \
echo 'Type=session' >> $ tmp; \
echo 'Exec=env G_TEST_DATA=$(pkglibexecdir)/installed-tests $(pkglibexecdir)/installed-tests/$<' >>
$ tmp; \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]