make: use the variable MAKE for recursive calls

Closes #1366
This commit is contained in:
Maksim Stsepanenka 2017-03-29 01:20:32 +03:00 committed by Daniel Stenberg
parent 2066072ff2
commit d1ddda7e75
4 changed files with 9 additions and 9 deletions

View file

@ -47,13 +47,13 @@ MAN2HTML= roffit $< >$@
SUFFIXES = .1 .html .pdf
curl.1:
cd cmdline-opts && make
cd cmdline-opts && $(MAKE)
html: $(HTMLPAGES)
cd libcurl && make html
cd libcurl && $(MAKE) html
pdf: $(PDFPAGES)
cd libcurl && make pdf
cd libcurl && $(MAKE) pdf
.1.html:
$(MAN2HTML)

View file

@ -48,13 +48,13 @@ libcurl-symbols.3: $(srcdir)/symbols-in-versions $(srcdir)/mksymbolsmanpage.pl
perl $(srcdir)/mksymbolsmanpage.pl < $(srcdir)/symbols-in-versions > $@
html: $(HTMLPAGES)
cd opts && make html
cd opts && $(MAKE) html
.3.html:
$(MAN2HTML)
pdf: $(PDFPAGES)
cd opts && make pdf
cd opts && $(MAKE) pdf
.3.pdf:
@(foo=`echo $@ | sed -e 's/\.[0-9]$$//g'`; \