[shotwell] Fix warning messages on compile



commit 171416306165013e664d66c141e1f8551ac4935b
Author: Jens Georg <mail jensge org>
Date:   Mon Apr 17 08:40:16 2017 +0200

    Fix warning messages on compile
    
    "You should give exactly one file name"
    
    Caused by shotwell.am passing too many and the authenticator passing not
    enough
    
    Signed-off-by: Jens Georg <mail jensge org>

 authenticator.am |    2 +-
 shotwell.am      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/authenticator.am b/authenticator.am
index abc0fa3..0fd4b81 100644
--- a/authenticator.am
+++ b/authenticator.am
@@ -38,7 +38,7 @@ MOSTLYCLEANFILES += plugins/authenticator/resource.c
 
 AUTHENTICATOR_RESOURCE_DEPS = $(shell $(GLIB_COMPILE_RESOURCES) \
                --sourcedir=$(AUTHENTICATOR_RESOURCE_SOURCEDIR) \
-               --generate-dependencies $(AUTHENTICATOR_SHOTWELL_RESOURCE_FILE))
+               --generate-dependencies $(AUTHENTICATOR_RESOURCE_FILE))
 
 plugins/authenticator/resource.c: $(AUTHENTICATOR_RESOURCE_DEPS) $(AUTHENTICATOR_RESOURCE_FILE)
        $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) \
diff --git a/shotwell.am b/shotwell.am
index 534eddd..662e169 100644
--- a/shotwell.am
+++ b/shotwell.am
@@ -37,7 +37,7 @@ shotwell_resource_deps := $(shell $(GLIB_COMPILE_RESOURCES) \
 resource.c: org.gnome.Shotwell.gresource.xml $(shotwell_resource_deps)
        $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ \
                --sourcedir=$(abs_top_srcdir) \
-               --generate $<
+               --generate $(abs_top_srcdir)/org.gnome.Shotwell.gresource.xml
 
 shotwell_SOURCES = \
        src/unit/Unit.vala \


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