diff options
| author | bwarsaw | 2002-02-23 06:12:32 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-02-23 06:12:32 +0000 |
| commit | 0cd831095f732af22e96ef0ba9f9ed652f69a514 (patch) | |
| tree | 51f0b474c889ae33214f306b7a1b119df888c2b1 /misc | |
| parent | d26184863640945f34f72f52cb5d3973721a0fcb (diff) | |
| download | mailman-0cd831095f732af22e96ef0ba9f9ed652f69a514.tar.gz mailman-0cd831095f732af22e96ef0ba9f9ed652f69a514.tar.zst mailman-0cd831095f732af22e96ef0ba9f9ed652f69a514.zip | |
Automatically uncompress and distutils install the distributed email
package into $prefix/pythonlib, which we will arrange to be at the
head of sys.path, so as to override the standard package even in
Python 2.2.
The human installer now should no longer need to install the email
package manually for any version of Python.
Diffstat (limited to 'misc')
| -rw-r--r-- | misc/Makefile.in | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/misc/Makefile.in b/misc/Makefile.in index f9be5c788..f64c23dc6 100644 --- a/misc/Makefile.in +++ b/misc/Makefile.in @@ -30,6 +30,7 @@ var_prefix= @VAR_PREFIX@ CC= @CC@ CHMOD= @CHMOD@ INSTALL= @INSTALL@ +PYTHON= @PYTHON@ DEFS= @DEFS@ @@ -43,7 +44,10 @@ ICONDIR= $(prefix)/icons SCRIPTSDIR= $(prefix)/scripts SHELL= /bin/sh - +UNTAR= tar zxf +EMAILPKG= email-0.97 +PYTHONLIBDIR= $(prefix)/pythonlib +SETUPCMD= setup.py --quiet install --install-lib # Modes for directories and executables created by the install # process. Default to group-writable directories but @@ -61,7 +65,7 @@ ICONS= *.jpg *.png all: -install: +install: install-email $(INSTALL) -m $(FILEMODE) $(ICONS) $(ICONDIR) for d in $(PATHSDIRS); \ do \ @@ -71,6 +75,10 @@ install: $(INSTALL) -m $(DATAMODE) pending_subscriptions.db $(DATADIR) $(INSTALL) -m $(EXEMODE) mailman $(SCRIPTSDIR) +install-email: + $(UNTAR) $(EMAILPKG).tar.gz + (cd $(EMAILPKG) ; $(PYTHON) $(SETUPCMD) $(PYTHONLIBDIR)) + finish: clean: |
