From: Mark Wooding Date: Mon, 14 Oct 2019 10:26:46 +0000 (+0100) Subject: pysetup.mk: Pass `make' flags down to `distcheck' build rules. X-Git-Url: https://git.distorted.org.uk/~mdw/runlisp/commitdiff_plain/e465fcf35d2b465d54be7fdb6457daabc98970a6 pysetup.mk: Pass `make' flags down to `distcheck' build rules. This firstly means that Makefile variables such as `PYTHON' are honoured properly, and secondly that flags requesting parallel building are respected. --- diff --git a/pysetup.mk b/pysetup.mk index 633e96c..c828b02 100644 --- a/pysetup.mk +++ b/pysetup.mk @@ -66,7 +66,7 @@ distcheck: rm -rf _distcheck $(PYTHON) setup.py sdist --dist-dir _distcheck cd _distcheck && tar xvfz $(distdir).tar.gz - cd _distcheck/$(distdir) && make && make check && make dist + cd _distcheck/$(distdir) && $(MAKE) && $(MAKE) check && $(MAKE) dist cp _distcheck/$(distdir)/$(distdir).tar.gz . rm -rf _distcheck