[gnome-boxes] automake: Add CACHEDIR variable



commit 71dff9134ead395522a15e2484c761453c0398ec
Author: Timm Bäder <mail baedert org>
Date:   Mon Mar 3 08:27:36 2014 +0100

    automake: Add CACHEDIR variable
    
    ...which is used for system-wide cached files like logos and drivers and
    currently just points to /var/cache
    
    https://bugzilla.gnome.org/show_bug.cgi?id=698144

 src/Makefile.am |    2 ++
 src/config.vapi |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index a6054f7..0af0520 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -3,10 +3,12 @@ BUILT_SOURCES =
 EXTRA_DIST =
 MAINTAINERCLEANFILES = *.stamp
 
+cachedir=/var/cache/
 AM_CPPFLAGS =                                          \
        -include config.h                               \
        -DGNOMELOCALEDIR=\""$(datadir)/locale"\"        \
        -DDATADIR=\""$(datadir)"\"                      \
+       -DCACHEDIR=\""$(cachedir)"\"                    \
        $(DISABLE_DEPRECATED)                           \
        -DG_LOG_DOMAIN=\""Boxes"\"                      \
        -I$(top_srcdir)/libgd                           \
diff --git a/src/config.vapi b/src/config.vapi
index cea0c2a..ccdedb6 100644
--- a/src/config.vapi
+++ b/src/config.vapi
@@ -6,6 +6,7 @@ namespace Config {
         public const string GETTEXT_PACKAGE;
         public const string GNOMELOCALEDIR;
         public const string DATADIR;
+        public const string CACHEDIR;
         public const string PACKAGE_BUGREPORT;
         public const string PACKAGE_URL;
         public const bool HAVE_USBREDIR;


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