aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbwarsaw <>2003-12-01 00:12:30 +0000
committerbwarsaw <>2003-12-01 00:12:30 +0000
commitd344d13dc894d3e9eb8e185626b9db2dbd2821c5 (patch)
tree7e933f88cf8627783f52c8bbc223a78833012afd
parent31d4f202c140f253fa31cf62126e552dfb6bba60 (diff)
downloadmailman2-d344d13dc894d3e9eb8e185626b9db2dbd2821c5.tar.gz
mailman2-d344d13dc894d3e9eb8e185626b9db2dbd2821c5.tar.xz
mailman2-d344d13dc894d3e9eb8e185626b9db2dbd2821c5.zip
Add a PKGDIR variable which allows the builder to specify an alternative
directory to unpack the distutils packages. You need to specify it on the make command like, e.g. "make PKGDIR=/tmp install". Closes SF # 784700.
Diffstat (limited to '')
-rw-r--r--misc/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/Makefile.in b/misc/Makefile.in
index c557fe56..fc6fd1bc 100644
--- a/misc/Makefile.in
+++ b/misc/Makefile.in
@@ -50,6 +50,7 @@ SETUPINSTOPTS= --install-lib $(DESTDIR)$(PYTHONLIBDIR) \
--install-purelib $(DESTDIR)$(PYTHONLIBDIR) \
--install-data $(DESTDIR)$(PYTHONLIBDIR)
SETUPCMD= setup.py --quiet install $(SETUPINSTOPTS)
+PKGDIR= $(srcdir)
EMAILPKG= email-2.5.4
JACODECSPKG= JapaneseCodecs-1.4.9
@@ -88,8 +89,8 @@ install-other:
install-packages:
for p in $(PACKAGES); \
do \
- gunzip -c $(srcdir)/$$p.tar.gz | tar xf -; \
- (cd $$p ; umask 02 ; PYTHONPATH=$(PYTHONLIBDIR) $(PYTHON) $(SETUPCMD)); \
+ gunzip -c $(srcdir)/$$p.tar.gz | (cd $(PKGDIR) ; tar xf -); \
+ (cd $(PKGDIR)/$$p ; umask 02 ; PYTHONPATH=$(PYTHONLIBDIR) $(PYTHON) $(SETUPCMD)); \
done
finish: