summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-07-26 00:08:33 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2016-07-26 12:40:55 +0200
commit8a933c28d5ba8028f58ad002b0a61775b62109c5 (patch)
tree64e64de5a6f47652d90b451da3dbed8cd0082b88
parent365a322f01b3d0d4c715c5eda8d1757b70ce5373 (diff)
downloadefl-8a933c28d5ba8028f58ad002b0a61775b62109c5.tar.gz
examples: edje: make sure we handle the various corner cases for the po files
Delete the earlier copied files only. Handles out of tree and in tree builds.
-rw-r--r--src/examples/edje/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/examples/edje/Makefile.am b/src/examples/edje/Makefile.am
index bf79a4b8c3..70bbb17bed 100644
--- a/src/examples/edje/Makefile.am
+++ b/src/examples/edje/Makefile.am
@@ -249,6 +249,11 @@ examples: $(EXTRA_PROGRAMS) $(EDJS)
clean-local:
rm -f $(EXTRA_PROGRAMS) $(EDJS) $(CODEGEN_GENERATED)
+ if [ $(top_builddir)/ != $(top_srcdir)/ ]; then \
+ rm -f $(top_builddir)/src/examples/edje/hi_IN/domain_name.po; \
+ rm -f $(top_builddir)/src/examples/edje/ta_IN/domain_name.mo; \
+ rm -f $(top_builddir)/src/examples/edje/en_IN/domain_name.po; \
+ fi
install-examples: $(EDJS)
$(MKDIR_P) $(DESTDIR)$(datadir)/edje/examples