[lightsoff] build: Fix srcdir != builddir



commit aaf8f10562849b112078f7984566d98f5a6a2a7b
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sun Mar 29 21:19:02 2015 +0100

    build: Fix srcdir != builddir
    
    Need to point glib-compile-resources to the right location for the XML
    resource file.

 src/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index da86918..e6cd4fd 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -28,7 +28,7 @@ lightsoff_LDADD =     \
        $(LIGHTSOFF_LIBS)
 
 lightsoff-resources.c: $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies lightsoff.gresource.xml)
-       $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source 
lightsoff.gresource.xml
+       $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source 
$(srcdir)/lightsoff.gresource.xml
 
 CLEANFILES = \
        $(patsubst %.vala,%.c,$(filter %.vala, $(SOURCES))) \


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