summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
Diffstat (limited to 'po')
-rw-r--r--po/Makefile.in.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/po/Makefile.in.in b/po/Makefile.in.in
index e78a6a7bc..ea364c4c1 100644
--- a/po/Makefile.in.in
+++ b/po/Makefile.in.in
@@ -112,10 +112,12 @@ install-data-yes: all
if test -r $$cat; then \
$(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \
echo "installing $$cat as $(DESTDIR)$$dir/$(PACKAGE).mo"; \
- else \
+ elif test -r $(srcdir)/$$cat; then \
$(INSTALL_DATA) $(srcdir)/$$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \
echo "installing $(srcdir)/$$cat as" \
"$(DESTDIR)$$dir/$(PACKAGE).mo"; \
+ else \
+ echo "WARNING: compiled message file $$cat is missing"; \
fi; \
done