diff options
| author | bwarsaw | 1998-12-10 22:33:31 +0000 |
|---|---|---|
| committer | bwarsaw | 1998-12-10 22:33:31 +0000 |
| commit | 9b75430e45e038556ea79ac0eeac1e48ba3029ea (patch) | |
| tree | bf15a2116d93476ba1ec1bd0d39f95a533209fe4 | |
| parent | f50c26a9ddf1464e2f2a4ec887359fcce87b4143 (diff) | |
| download | mailman-9b75430e45e038556ea79ac0eeac1e48ba3029ea.tar.gz mailman-9b75430e45e038556ea79ac0eeac1e48ba3029ea.tar.zst mailman-9b75430e45e038556ea79ac0eeac1e48ba3029ea.zip | |
As part of the install process, run compileall over the installed
Mailman source tree. This will pre-byte-compile all the .py files.
However the scripts which do not end in .py are not compiled; that
should be fine for now.
Diffstat (limited to '')
| -rw-r--r-- | Makefile.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index fece9dbe4..5dd9d221b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -31,6 +31,7 @@ exec_prefix= @exec_prefix@ CC= @CC@ INSTALL= @INSTALL@ +PYTHON= @PYTHON@ DEFS= @DEFS@ @@ -99,6 +100,7 @@ install: $(SUBDIRS) do \ (cd $$d; $(MAKE) install); \ done + $(PYTHON) -c 'import compileall; compileall.compile_dir("$(prefix)")' @echo "*****" @echo "***** If you are installing over an old installation, please" @echo "***** run \"make update\". See the UPGRADING file for details." |
