From 28d08a3a4163fd1353c2d87eedff99617b842d05 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Sun, 4 Nov 2018 22:05:00 +0100 Subject: [PATCH] Enhance Makefile and .travis.yml from various feedbacks. (#393) --- .travis.yml | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5850a6ea..b03539b6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,5 +7,5 @@ install: - pip install pospell - pospell --version script: - - pospell -p dict -l fr **/*.po + - pospell -p dict -l fr_FR **/*.po - make CPYTHON_CLONE=/tmp/cpython/ COMMIT=d4ed8809dd diff --git a/Makefile b/Makefile index b8f24fa6..33aacd03 100644 --- a/Makefile +++ b/Makefile @@ -21,13 +21,13 @@ PYTHON := $(shell which python3) MODE := autobuild-dev-html BRANCH = 3.7 COMMIT = -JOBS = 4 +JOBS = auto .PHONY: all all: $(SPHINX_CONF) $(VENV)/bin/activate ifneq "$(shell cd $(CPYTHON_CLONE) 2>/dev/null && git describe --contains --all HEAD)" "$(BRANCH)" - $(warning "Your ../cpython checkout is on the wrong branch, got $(shell cd $(CPYTHON_CLONE) 2>/dev/null && git describe --contains --all HEAD) expected $(BRANCH)") + $(warning "Your ../cpython checkout may be on the wrong branch, got $(shell cd $(CPYTHON_CLONE) 2>/dev/null && git describe --contains --all HEAD) expected $(BRANCH)") endif mkdir -p $(CPYTHON_CLONE)/locales/$(LANGUAGE)/ ln -nfs $(shell $(PYTHON) -c 'import os; print(os.path.realpath("."))') $(CPYTHON_CLONE)/locales/$(LANGUAGE)/LC_MESSAGES