[master 8/8] Try to run make ci with real translations.

dashea installerbot-noreply at redhat.com
Thu Nov 5 19:37:16 UTC 2015


From: David Shea <dshea at redhat.com>

This adds a new make target, po-fallback, which will attempt to fetch
translations from Zanata and fallback to empty .po files if that fails.
---
 Makefile.am | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 8e606e3..ad0b2d4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -67,7 +67,11 @@ po-empty:
 		exit 1 ; \
 	done
 
-scratch: po-empty
+# Try to fetch the real .po files, but if that fails use the empty ones
+po-fallback:
+	$(MAKE) po-pull || $(MAKE) po-empty
+
+scratch: po-fallback
 	$(MAKE) ARCHIVE_TAG=HEAD dist
 	git checkout -- $(srcdir)/po/$(PACKAGE_NAME).pot
 


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/8ac8525b92ae7a3048add57ba950fbf41f4c03bf


More information about the anaconda-patches mailing list