diff options
| author | Jeff Epler <jepler@gmail.com> | 2020-11-19 16:23:35 -0600 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2020-11-19 16:23:35 -0600 |
| commit | 982bce7259a9bbf7493f86258fc3395f31081648 (patch) | |
| tree | cc57865572149bddfa07fdffe63e384c692c40c3 /py | |
| parent | aaca3eccf12d4b6ea6e294af81c8d19ad330be0c (diff) | |
py.mk: allow translation to be overriden in GNUmakefile
I like to use local makefile overrides, in the file GNUmakefile
(or, on case-sensitive systems, makefile) to set compilation choices.
However, writing
TRANSLATION := de_DE
include Makefile
did not work, because py.mk would override the TRANSLATION := specified
in an earlier part of the makefiles (but not from the commandline).
By using ?= instead of := the local makefile override works, but when
TRANSLATION is not specified it continues to work as before.
Diffstat (limited to 'py')
| -rw-r--r-- | py/py.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ HEADER_BUILD = $(BUILD)/genhdr # file containing qstr defs for the core Python bit PY_QSTR_DEFS = $(PY_SRC)/qstrdefs.h -TRANSLATION := en_US +TRANSLATION ?= en_US # If qstr autogeneration is not disabled we specify the output header # for all collected qstrings. |
