[master 8/8] Try to run make ci with real translations.
dashea
installerbot-noreply at redhat.com
Thu Nov 5 20:12:36 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 | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 8e606e3..8623afd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -67,11 +67,15 @@ 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
-scratch-bumpver: po-empty
+scratch-bumpver: po-fallback
@opts="-S -n $(PACKAGE_NAME) -v $(PACKAGE_VERSION) -r $(PACKAGE_RELEASE) -b $(PACKAGE_BUGREPORT) --newrelease $(RC_RELEASE)" ; \
if [ ! -z "$(IGNORE)" ]; then \
opts="$${opts} -i $(IGNORE)" ; \
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/cda9c64c96386ed47b4696901cc8aca3c506a414
More information about the anaconda-patches
mailing list