edje: make sure the po files are well-copied once

This commit is contained in:
Jean Guyomarc'h 2017-03-09 22:17:11 +01:00
parent 10863d9bd1
commit 7a53e26277
1 changed files with 9 additions and 6 deletions

View File

@ -86,12 +86,15 @@ EDJE_CC_FLAGS += -beta
$(AM_V_EDJ)$(EDJE_CC) $(EDJE_CC_FLAGS) $(SND_DIR) $(MO_DIR) $< $(builddir)/$(@F)
text.edj: text.edc
@cp -a $(top_srcdir)/src/examples/edje/en_IN/ $(top_builddir)/src/examples/edje/ || true
@cp -a $(top_srcdir)/src/examples/edje/hi_IN/ $(top_builddir)/src/examples/edje/ || true
@cp -a $(top_srcdir)/src/examples/edje/ta_IN/ $(top_builddir)/src/examples/edje/ || true
@chmod -R +w $(top_builddir)/src/examples/edje/en_IN/ || true
@chmod -R +w $(top_builddir)/src/examples/edje/hi_IN/ || true
@chmod -R +w $(top_builddir)/src/examples/edje/ta_IN/ || true
@rm -rf $(top_builddir)/src/examples/edje/en_IN/
@rm -rf $(top_builddir)/src/examples/edje/hi_IN/
@rm -rf $(top_builddir)/src/examples/edje/ta_IN/
@cp -a $(top_srcdir)/src/examples/edje/en_IN/ $(top_builddir)/src/examples/edje/en_IN/
@cp -a $(top_srcdir)/src/examples/edje/hi_IN/ $(top_builddir)/src/examples/edje/hi_IN/
@cp -a $(top_srcdir)/src/examples/edje/ta_IN/ $(top_builddir)/src/examples/edje/ta_IN/
@chmod -R +w $(top_builddir)/src/examples/edje/en_IN/
@chmod -R +w $(top_builddir)/src/examples/edje/hi_IN/
@chmod -R +w $(top_builddir)/src/examples/edje/ta_IN/
$(AM_V_EDJ)$(EDJE_CC) $(EDJE_CC_FLAGS) $(SND_DIR) $(MO_DIR) $(top_srcdir)/src/examples/edje/text.edc $(top_builddir)/src/examples/edje/text.edj
EDJS = $(EDCS:%.edc=%.edj)