Enhance Makefile and .travis.yml from various feedbacks. (#393)

This commit is contained in:
Julien Palard 2018-11-04 22:05:00 +01:00 committed by GitHub
parent c6d8362c83
commit 28d08a3a41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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