aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--misc/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/Makefile.in b/misc/Makefile.in
index f57df8c8..d0a0e33b 100644
--- a/misc/Makefile.in
+++ b/misc/Makefile.in
@@ -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 -); \