From d1ca10bec67244cfd4d60d3e5fe15c348082119a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Wed, 18 Oct 2017 19:49:06 +0900 Subject: [PATCH] build: Fix build in build dir --- data/extra/templates/Makefile.am | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/data/extra/templates/Makefile.am b/data/extra/templates/Makefile.am index cfac464..f363ac5 100644 --- a/data/extra/templates/Makefile.am +++ b/data/extra/templates/Makefile.am @@ -3,6 +3,8 @@ MAINTAINERCLEANFILES = Makefile.in templatesdir = $(datadir)/$(PACKAGE)/templates skeletonsdir = $(datadir)/$(PACKAGE)/templates/skeletons +templatessrcdir = $(top_srcdir)/data/extra/templates + templates_DATA = \ eflproject.edj \ eflproject_python.edj @@ -12,15 +14,15 @@ eflproject.tar.gz \ eflproject_python.tar.gz eflproject.tar.gz: - tar zcvf eflproject.tar.gz -C skeletons eflproject + tar zcvf eflproject.tar.gz -C $(templatessrcdir)/skeletons eflproject eflproject_python.tar.gz: - tar zcvf eflproject_python.tar.gz -C skeletons eflproject_python + tar zcvf eflproject_python.tar.gz -C $(templatessrcdir)/skeletons eflproject_python eflproject.edj: - edje_cc -id images/ eflproject.edc + edje_cc -id $(templatessrcdir)/images/ $(templatessrcdir)/eflproject.edc eflproject_python.edj: - edje_cc -id images/ eflproject_python.edc + edje_cc -id $(templatessrcdir)/images/ $(templatessrcdir)/eflproject_python.edc EXTRA_DIST = $(templates_DATA) $(skeletons_DATA)