summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2000-02-19 04:49:54 +0000
committerbwarsaw2000-02-19 04:49:54 +0000
commit3675e7761084fa058c3b9882731c35fa1a3871d7 (patch)
treec8d1f6ea3514b92fd49e104d65bc8f01cc68e1f9
parent0e2376ff58f8c37acf410edb51bc7b5d9e108d53 (diff)
downloadmailman-3675e7761084fa058c3b9882731c35fa1a3871d7.tar.gz
mailman-3675e7761084fa058c3b9882731c35fa1a3871d7.tar.zst
mailman-3675e7761084fa058c3b9882731c35fa1a3871d7.zip
install: Be a bit more efficient about compiling all .py files; only
traverse into $prefix/Mailman, which avoids all the time-consuming and unnecessary compilation in the archive directories.
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 34ce46694..387699494 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -103,7 +103,7 @@ install: $(SUBDIRS)
do \
(cd $$d; $(MAKE) install); \
done
- $(PYTHON) -c 'import compileall; compileall.compile_dir("$(prefix)")'
+ $(PYTHON) -c 'from compileall import *; compile_dir("$(prefix)/Mailman")'
@echo "*****"
@echo "***** If you are installing over an old installation, please"
@echo "***** run \"make update\". See the UPGRADING file for details."