Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalwareutils.git;a=commitdiff;h=e2811bf6fc7c3999ac2615e3ca672dae821ef055

commit e2811bf6fc7c3999ac2615e3ca672dae821ef055
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Sun Sep 28 23:33:57 2008 +0200

Makefile.po.inc: just ignore if a given po file is missing

diff --git a/Makefile.po.inc b/Makefile.po.inc
index 3609b19..660d3e1 100644
--- a/Makefile.po.inc
+++ b/Makefile.po.inc
@@ -36,10 +36,12 @@ prepare:
[ -d $(PO_DIR) ]
for i in $(LANGS); \
do \
-               cp $(PO_DIR)/frugalwareutils/$$i/$(DOMAIN).po $$i.po; \
-               if ! msgfmt -c --statistics -o $$i.gmo $$i.po; then \
-                       echo "ERROR: $(DOMAIN)/$$i.po would break your build!"; 
\
-                       exit 1; \
+               if [ -e $(PO_DIR)/frugalwareutils/$$i/$(DOMAIN).po ]; then \
+                       cp $(PO_DIR)/frugalwareutils/$$i/$(DOMAIN).po $$i.po; \
+                       if ! msgfmt -c --statistics -o $$i.gmo $$i.po; then \
+                               echo "ERROR: $(DOMAIN)/$$i.po would break your 
build!"; \
+                               exit 1; \
+                       fi; \
fi; \
done
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to