[gnome-games] build: Allow to build with $builddir != $srcdir



commit 6842190e3cd1d72cbf60550e10788e15c7a702bb
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Tue Aug 2 18:54:04 2016 +0200

    build: Allow to build with $builddir != $srcdir
    
    Fix the $top_pluginsrcdir variable in the desktop and mame plugins'
    src/Makefile.am from a relative path, invalid from the build dir, to an
    absolute path from the top src dir.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769444

 plugins/desktop/src/Makefile.am |    2 +-
 plugins/mame/src/Makefile.am    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/desktop/src/Makefile.am b/plugins/desktop/src/Makefile.am
index 5ee4f45..eb4dd4c 100644
--- a/plugins/desktop/src/Makefile.am
+++ b/plugins/desktop/src/Makefile.am
@@ -1,4 +1,4 @@
-top_pluginsrcdir = ..
+top_pluginsrcdir = $(top_srcdir)/plugins/desktop
 
 gresource_file = $(top_pluginsrcdir)/data/desktop.gresource.xml
 
diff --git a/plugins/mame/src/Makefile.am b/plugins/mame/src/Makefile.am
index c1d2264..ba27eaa 100644
--- a/plugins/mame/src/Makefile.am
+++ b/plugins/mame/src/Makefile.am
@@ -1,4 +1,4 @@
-top_pluginsrcdir = ..
+top_pluginsrcdir = $(top_srcdir)/plugins/mame
 
 gresource_file = $(top_pluginsrcdir)/data/mame.gresource.xml
 


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