From 7a53e26277b960874e28740bd80011c6d0c0f89f Mon Sep 17 00:00:00 2001 From: Jean Guyomarc'h Date: Thu, 9 Mar 2017 22:17:11 +0100 Subject: [PATCH] edje: make sure the po files are well-copied once --- edje/Makefile.am | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/edje/Makefile.am b/edje/Makefile.am index 91bb1ca7..9a654572 100644 --- a/edje/Makefile.am +++ b/edje/Makefile.am @@ -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)