[gnome-dictionary] build: Do not use INCLUDES
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-dictionary] build: Do not use INCLUDES
- Date: Mon, 23 Feb 2015 15:32:36 +0000 (UTC)
commit 699399650dbde4083f3212fc6382b273c11b5f58
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Feb 23 12:14:51 2015 +0000
build: Do not use INCLUDES
It's deprecated, and we can replace it with a target specific CPPFLAGS
stanza.
https://bugzilla.gnome.org/show_bug.cgi?id=745022
src/Makefile.am | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index fb1cfd2..33500de 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,8 @@
NULL =
-INCLUDES = \
+bin_PROGRAMS = gnome-dictionary
+
+gnome_dictionary_CPPFLAGS = \
-DPREFIX=\""$(prefix)"\" \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
-DLIBDIR=\""$(libdir)"\" \
@@ -10,8 +12,6 @@ INCLUDES = \
-DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
$(NULL)
-bin_PROGRAMS = gnome-dictionary
-
gnome_dictionary_SOURCES = \
gdict-about.c \
gdict-about.h \
@@ -46,5 +46,6 @@ gnome_dictionary_LDADD = \
$(GDICT_LIBS) \
$(NULL)
+gnome_dictionary_DEPENDENCIES = $(top_builddir)/libgdict/libgdict-1.0.la
-include $(top_srcdir)/git.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]