From d1ddda7e75fdc24b68830b16ea0c2179436e4886 Mon Sep 17 00:00:00 2001 From: Maksim Stsepanenka Date: Wed, 29 Mar 2017 01:20:32 +0300 Subject: make: use the variable MAKE for recursive calls Closes #1366 --- Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 44a793188..8ad806b48 100644 --- a/Makefile.am +++ b/Makefile.am @@ -171,10 +171,10 @@ dist-hook: done) html: - cd docs && make html + cd docs && $(MAKE) html pdf: - cd docs && make pdf + cd docs && $(MAKE) pdf check: test examples check-docs @@ -256,7 +256,7 @@ rpm: # gak - libtool requires an absolute directory, hence the pwd below... pkgadd: umask 022 ; \ - make install DESTDIR=`/bin/pwd`/packages/Solaris/root ; \ + $(MAKE) install DESTDIR=`/bin/pwd`/packages/Solaris/root ; \ cat COPYING > $(srcdir)/packages/Solaris/copyright ; \ cd $(srcdir)/packages/Solaris && $(MAKE) package -- cgit v1.2.3