[gnome-chess] Consistently use make variables in Makefile.am
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess] Consistently use make variables in Makefile.am
- Date: Wed, 14 Aug 2013 02:32:29 +0000 (UTC)
commit d2ec5772f3b6ebbaf93bb37f402ecfc214f0149d
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Tue Aug 13 20:57:59 2013 -0500
Consistently use make variables in Makefile.am
It's not correct to use Autoconf substitution variables here, since that
prevents the user from overriding installation directories when calling
make.
src/Makefile.am | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index d854c09..f675ec6 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -51,9 +51,9 @@ test_chess_pgn_VALAFLAGS = \
gnome_chess_CFLAGS = \
-DVERSION=\"$(VERSION)\" \
-DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
- -DPKGDATADIR=\"@datadir@/gnome-chess\" \
- -DLOCALEDIR=\"@localedir \" \
- -DSYSCONFDIR=\"@sysconfdir \" \
+ -DPKGDATADIR=\"$(datadir)/gnome-chess\" \
+ -DLOCALEDIR=\"$(localedir)\" \
+ -DSYSCONFDIR=\"$(sysconfdir)\" \
$(GNOME_CHESS_CFLAGS)
gnome_chess_LDADD = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]