From 95ece8a6c01c2bad9630386551876fd3203d460d Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer <akohlmey@gmail.com> Date: Tue, 8 Aug 2017 17:03:52 -0400 Subject: [PATCH] consistently use $(PYTHON) in the master makefile (which defaults to "python") --- src/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Makefile b/src/Makefile index 3d1085e0be..7dfc2c312a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -224,7 +224,7 @@ mpi-stubs: @cd STUBS; $(MAKE) clean; $(MAKE) # install LAMMPS shared lib and Python wrapper for Python usage -# include python package settings to +# include python package settings to # automatically adapt name of python interpreter sinclude ../lib/python/Makefile.lammps @@ -343,10 +343,10 @@ no-%: lib-%: @if [ -e ../lib/$(LIBDIR)/Install.py ]; then \ echo "Installing lib $(@:lib-%=%)"; \ - cd ../lib/$(LIBDIR); python Install.py $(args); \ + cd ../lib/$(LIBDIR); $(PYTHON) Install.py $(args); \ elif [ -e ../lib/$(LIBUSERDIR)/Install.py ]; then \ echo "Installing lib $(@:lib-user-%=%)"; \ - cd ../lib/$(LIBUSERDIR); python Install.py $(args); \ + cd ../lib/$(LIBUSERDIR); $(PYTHON) Install.py $(args); \ else \ echo "Install script for lib $(@:lib-%=%) does not exist"; \ fi; -- GitLab