diff options
Diffstat (limited to 'misc/Makefile.in')
-rw-r--r-- | misc/Makefile.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/Makefile.in b/misc/Makefile.in index 804f140d..d0a0e33b 100644 --- a/misc/Makefile.in +++ b/misc/Makefile.in @@ -53,7 +53,7 @@ SETUPINSTOPTS= --install-lib $(DESTDIR)$(PYTHONLIBDIR) \ SETUPCMD= setup.py --quiet install $(SETUPINSTOPTS) PKGDIR= $(srcdir) -EMAILPKG= email-2.5.8 +EMAILPKG= @EMAILPKG@ JACODECSPKG= JapaneseCodecs-1.4.11 KOCODECSPKG= KoreanCodecs-2.0.5 @@ -91,6 +91,10 @@ install-other: $(INSTALL) -m $(FILEMODE) sitelist.cfg $(DESTDIR)$(DATADIR) install-packages: + if [ -z "$(EMAILPKG)" -a -d $(PYTHONLIBDIR)/email ] ; \ + then \ + rm -rf $(PYTHONLIBDIR)/email* ; \ + fi for p in $(PACKAGES); \ do \ gunzip -c $(srcdir)/$$p.tar.gz | (cd $(PKGDIR) ; tar xf -); \ |