diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2016-06-20 15:07:30 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2016-06-20 18:20:21 +0200 |
commit | ed876b4cc94135582c1c2523750e074bf77e76b2 (patch) | |
tree | 45f02dfd540b357cd9cba356d0e3a2db3f99d21b | |
parent | 14c02c2873e39647860ed6f5b5a3e8cb893a1b33 (diff) |
build: Fix _DEPENDENCIES use
We want to trigger rebuild of libspice-client-gtk-3.0.la or
libspice-client-glib-2.0.la whenever the corresponding symbol file
changes.
However _DEPENDENCIES is not the right way of handling that as it will
disable automatic automake dependency generation.
This was not causing issues mainly because _DEPENDENCIES was mispelt as
_DEPEDENCIES.
Quoting automake manual:
https://www.gnu.org/software/automake/manual/automake.html#index-EXTRA_005fmaude_005fDEPENDENCIES-1
« The EXTRA_*_DEPENDENCIES variable may be useful for cases where you
merely want to augment the automake-generated _DEPENDENCIES variable
rather than replacing it. »
So this commit switches to use EXTRA_*_DEPENDENCIES rather than
*_DEPENDENCIES.
-rw-r--r-- | src/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 73bb39c..6fb8507 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -156,7 +156,7 @@ SPICE_GTK_SOURCES_COMMON += \ endif if WITH_GTK -libspice_client_gtk_3_0_la_DEPEDENCIES = $(GTK_SYMBOLS_FILE) +EXTRA_libspice_client_gtk_3_0_la_DEPENDENCIES = $(GTK_SYMBOLS_FILE) libspice_client_gtk_3_0_la_LDFLAGS = $(SPICE_GTK_LDFLAGS_COMMON) libspice_client_gtk_3_0_la_LIBADD = $(SPICE_GTK_LIBADD_COMMON) libspice_client_gtk_3_0_la_SOURCES = $(SPICE_GTK_SOURCES_COMMON) @@ -176,7 +176,7 @@ nodist_libspice_client_gtkinclude_HEADERS = \ $(NULL) endif -libspice_client_glib_2_0_la_DEPENDENCIES = $(GLIB_SYMBOLS_FILE) +EXTRA_libspice_client_glib_2_0_la_DEPENDENCIES = $(GLIB_SYMBOLS_FILE) libspice_client_glib_2_0_la_LDFLAGS = \ -version-info 13:0:5 \ |