[epiphany] Fix handling of the new stamp file
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Fix handling of the new stamp file
- Date: Sun, 18 Sep 2016 21:04:07 +0000 (UTC)
commit 02b1b175cea12b61a0bca40fc3d735ef1606a062
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Sep 18 16:03:30 2016 -0500
Fix handling of the new stamp file
Doesn't work if the generated files don't depend on the stamp file
src/search-provider/Makefile.am | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/src/search-provider/Makefile.am b/src/search-provider/Makefile.am
index 139b92b..b0a0a4b 100644
--- a/src/search-provider/Makefile.am
+++ b/src/search-provider/Makefile.am
@@ -1,9 +1,6 @@
BUILT_SOURCES = \
ephy-shell-search-provider-generated.stamp \
- $(dbus_shell_search_provider_built_sources)
-
-dbus_shell_search_provider_built_sources = \
- ephy-shell-search-provider-generated.c \
+ ephy-shell-search-provider-generated.c \
ephy-shell-search-provider-generated.h
dist_noinst_DATA = org.gnome.ShellSearchProvider2.xml
@@ -14,7 +11,8 @@ epiphany_search_provider_SOURCES = \
ephy-search-provider.h \
ephy-search-provider.c \
ephy-search-provider-main.c \
- $(dbus_shell_search_provider_built_sources)
+ ephy-shell-search-provider-generated.c \
+ ephy-shell-search-provider-generated.h
epiphany_search_provider_CFLAGS = \
$(WARN_CFLAGS)
@@ -51,6 +49,9 @@ epiphany_search_provider_LDFLAGS = \
-dlopen self \
$(WARN_LDFLAGS)
+ephy-shell-search-provider-generated.c : ephy-shell-search-provider-generated.stamp
+ephy-shell-search-provider-generated.h : ephy-shell-search-provider-generated.stamp
+
# The upstream for the DBus interface definition is
# at http://git.gnome.org/browse/gnome-shell/plain/data/org.gnome.ShellSearchProvider2.xml
ephy-shell-search-provider-generated.stamp : Makefile.am $(srcdir)/org.gnome.ShellSearchProvider2.xml
@@ -58,8 +59,8 @@ ephy-shell-search-provider-generated.stamp : Makefile.am $(srcdir)/org.gnome.She
--interface-prefix org.gnome. \
--c-namespace Ephy \
--generate-c-code ephy-shell-search-provider-generated \
- $(srcdir)/org.gnome.ShellSearchProvider2.xml
- touch ephy-shell-search-provider-generated.stamp > /dev/null
+ $(srcdir)/org.gnome.ShellSearchProvider2.xml \
+ && touch ephy-shell-search-provider-generated.stamp
CLEANFILES = $(BUILT_SOURCES)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]