diff options
-rw-r--r-- | misc/Makefile.in | 5 |
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: |