[gnome-calculator] Remove unused -D defines from Makefile.am and configure.vapi for both src/ and lib/
- From: Alberto Ruiz <aruiz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] Remove unused -D defines from Makefile.am and configure.vapi for both src/ and lib/
- Date: Sun, 17 Jan 2016 22:11:06 +0000 (UTC)
commit a387af111db7fc187e475e1355cd1f14c83b7850
Author: Alberto Ruiz <aruiz gnome org>
Date: Sun Jan 17 22:02:35 2016 +0000
Remove unused -D defines from Makefile.am and configure.vapi for both src/ and lib/
lib/Makefile.am | 6 +-----
lib/config.vapi | 1 -
src/Makefile.am | 1 -
src/config.vapi | 1 -
4 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 5f3b9c5..5f69019 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,15 +1,11 @@
pkglib_LTLIBRARIES = libcalculator.la
AM_CPPFLAGS = \
- -DUI_DIR=\""$(datadir)/gnome-calculator"\" \
- -DVERSION=\""$(VERSION)"\" \
- -DLOCALE_DIR=\""$(localedir)"\" \
- -DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
-w \
+ -DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
$(LIBCALCULATOR_CFLAGS)
libcalculator_la_SOURCES = \
- config.vapi \
mpfr.vapi \
currency.vala \
equation.vala \
diff --git a/lib/config.vapi b/lib/config.vapi
index ffe4322..78cac13 100644
--- a/lib/config.vapi
+++ b/lib/config.vapi
@@ -1,2 +1 @@
public const string GETTEXT_PACKAGE;
-public const string LOCALE_DIR;
diff --git a/src/Makefile.am b/src/Makefile.am
index ae6929b..6ad5a70 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,7 +1,6 @@
bin_PROGRAMS = gnome-calculator gcalccmd
AM_CPPFLAGS = \
- -DUI_DIR=\""$(datadir)/gnome-calculator"\" \
-DVERSION=\""$(VERSION)"\" \
-DLOCALE_DIR=\""$(localedir)"\" \
-DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
diff --git a/src/config.vapi b/src/config.vapi
index a47f13d..a1bb094 100644
--- a/src/config.vapi
+++ b/src/config.vapi
@@ -1,4 +1,3 @@
public const string VERSION;
public const string GETTEXT_PACKAGE;
public const string LOCALE_DIR;
-public const string UI_DIR;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]