[latexila] Rename to GNOME LaTeX: pkg-config CFLAGS and LDFLAGS variables



commit 6fd427e85b9546d338698b54d980b7e7a7ce99be
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Tue Dec 26 17:58:21 2017 +0100

    Rename to GNOME LaTeX: pkg-config CFLAGS and LDFLAGS variables

 configure.ac                |    2 +-
 src/Makefile.am             |    4 ++--
 src/evince/Makefile.am      |    6 +++---
 src/liblatexila/Makefile.am |    4 ++--
 tests/Makefile.am           |    4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 51d8348..b55683f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -101,7 +101,7 @@ PKG_PROG_PKG_CONFIG
 
 # Checks for dependencies
 AX_REQUIRE_DEFINED([PKG_CHECK_MODULES])
-PKG_CHECK_MODULES([LATEXILA], [
+PKG_CHECK_MODULES([DEP], [
        glib-2.0 >= ${GLIB_REQUIRED_VERSION}
        gio-2.0 >= ${GLIB_REQUIRED_VERSION}
        gtk+-3.0 >= ${GTK_REQUIRED_VERSION}
diff --git a/src/Makefile.am b/src/Makefile.am
index 4538eb3..1681e3a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -82,10 +82,10 @@ latexila_CPPFLAGS =                 \
        -w
 
 latexila_CFLAGS =              \
-       $(LATEXILA_CFLAGS)
+       $(DEP_CFLAGS)
 
 latexila_LDADD =                       \
-       $(LATEXILA_LIBS)                \
+       $(DEP_LIBS)                     \
        liblatexila/liblatexila.la
 
 # GResource
diff --git a/src/evince/Makefile.am b/src/evince/Makefile.am
index ce22b24..fcf08e9 100644
--- a/src/evince/Makefile.am
+++ b/src/evince/Makefile.am
@@ -1,14 +1,14 @@
 noinst_LTLIBRARIES = libevince.la
 
-libevince_la_CFLAGS =          \
-       $(LATEXILA_CFLAGS)      \
+libevince_la_CFLAGS =  \
+       $(DEP_CFLAGS)   \
        $(WARN_CFLAGS)
 
 libevince_la_LDFLAGS =         \
        $(WARN_LDFLAGS)
 
 libevince_la_LIBADD =          \
-       $(LATEXILA_LIBS)
+       $(DEP_LIBS)
 
 libevince_built_sources =              \
        evince-gdbus-generated.c        \
diff --git a/src/liblatexila/Makefile.am b/src/liblatexila/Makefile.am
index c7e8932..42f0ebe 100644
--- a/src/liblatexila/Makefile.am
+++ b/src/liblatexila/Makefile.am
@@ -6,7 +6,7 @@ liblatexila_la_CPPFLAGS =               \
        $(CODE_COVERAGE_CPPFLAGS)
 
 liblatexila_la_CFLAGS =                        \
-       $(LATEXILA_CFLAGS)              \
+       $(DEP_CFLAGS)                   \
        $(WARN_CFLAGS)                  \
        $(CODE_COVERAGE_CFLAGS)         \
        -I$(top_builddir)/src/evince
@@ -15,7 +15,7 @@ liblatexila_la_LDFLAGS = \
        $(WARN_LDFLAGS)
 
 liblatexila_la_LIBADD =                \
-       $(LATEXILA_LIBS)        \
+       $(DEP_LIBS)             \
        $(CODE_COVERAGE_LIBS)   \
        ../evince/libevince.la
 
diff --git a/tests/Makefile.am b/tests/Makefile.am
index fb2226f..1a8728f 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -4,13 +4,13 @@ AM_CPPFLAGS =                                 \
        -I$(top_srcdir)                         \
        -I$(top_srcdir)/src/liblatexila         \
        -I$(top_builddir)/src/liblatexila       \
-       $(LATEXILA_CFLAGS)                      \
+       $(DEP_CFLAGS)                           \
        $(WARN_CFLAGS)
 
 AM_LDFLAGS = $(WARN_LDFLAGS)
 
 LDADD =        $(top_builddir)/src/liblatexila/liblatexila.la  \
-       $(LATEXILA_LIBS)
+       $(DEP_LIBS)
 
 build-tools-resources.c: build-tools.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) 
--generate-dependencies $(srcdir)/build-tools.gresource.xml)
        $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source 
$(srcdir)/build-tools.gresource.xml


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]