1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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

@ -171,10 +171,10 @@ dist-hook:
done) done)
html: html:
cd docs && make html cd docs && $(MAKE) html
pdf: pdf:
cd docs && make pdf cd docs && $(MAKE) pdf
check: test examples check-docs check: test examples check-docs
@ -256,7 +256,7 @@ rpm:
# gak - libtool requires an absolute directory, hence the pwd below... # gak - libtool requires an absolute directory, hence the pwd below...
pkgadd: pkgadd:
umask 022 ; \ umask 022 ; \
make install DESTDIR=`/bin/pwd`/packages/Solaris/root ; \ $(MAKE) install DESTDIR=`/bin/pwd`/packages/Solaris/root ; \
cat COPYING > $(srcdir)/packages/Solaris/copyright ; \ cat COPYING > $(srcdir)/packages/Solaris/copyright ; \
cd $(srcdir)/packages/Solaris && $(MAKE) package cd $(srcdir)/packages/Solaris && $(MAKE) package

View File

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

View File

@ -101,7 +101,7 @@ if USE_MANUAL
# Here are the stuff to create a built-in manual # Here are the stuff to create a built-in manual
$(MANPAGE): $(MANPAGE):
cd $(top_builddir)/docs && make curl.1 cd $(top_builddir)/docs && $(MAKE) curl.1
if HAVE_LIBZ if HAVE_LIBZ
# This generates the tool_hugehelp.c file in both uncompressed and # This generates the tool_hugehelp.c file in both uncompressed and