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.
This commit is contained in:
Stefan Schmidt 2016-07-26 00:08:33 +02:00
parent 365a322f01
commit 8a933c28d5
1 changed files with 5 additions and 0 deletions

View File

@ -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