[shotwell] Fix make dist



commit 3f79b95bcfd568c2258c850c940b38669fbdd073
Author: Jens Georg <mail jensge org>
Date:   Mon Jun 20 20:51:48 2016 +0200

    Fix make dist
    
    Signed-off-by: Jens Georg <mail jensge org>

 plugins/Makefile.plugin.mk |    6 ++++--
 plugins/common/Makefile    |    1 +
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/plugins/Makefile.plugin.mk b/plugins/Makefile.plugin.mk
index d5b3a29..c26c672 100644
--- a/plugins/Makefile.plugin.mk
+++ b/plugins/Makefile.plugin.mk
@@ -71,8 +71,10 @@ clean: cleantemps
 .PHONY: distclean
 distclean: clean
 
+PLUGIN_DIR ?= $(PLUGIN)
+
 .PHONY: listfiles
 listfiles:
-       @printf "plugins/$(PLUGIN)/Makefile $(foreach file,$(SRC_FILES),plugins/$(PLUGIN)/$(file)) "
-       @printf "$(foreach rc,$(RC_FILES),plugins/$(PLUGIN)/$(rc)) "
+       @printf "plugins/$(PLUGIN_DIR)/Makefile $(foreach file,$(SRC_FILES),plugins/$(PLUGIN_DIR)/$(file)) "
+       @printf "$(foreach rc,$(RC_FILES),plugins/$(PLUGIN_DIR)/$(rc)) "
 
diff --git a/plugins/common/Makefile b/plugins/common/Makefile
index 5047339..90714a0 100644
--- a/plugins/common/Makefile
+++ b/plugins/common/Makefile
@@ -1,5 +1,6 @@
 
 PLUGIN := libshotwell-plugin-common
+PLUGIN_DIR := common
 
 PLUGIN_PKGS := \
        gee-0.8 \


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