]> granicus.if.org Git - curl/commitdiff
make: use the variable MAKE for recursive calls
authorMaksim Stsepanenka <mstsepanenka@gmail.com>
Tue, 28 Mar 2017 22:20:32 +0000 (01:20 +0300)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 29 Mar 2017 06:17:13 +0000 (08:17 +0200)
Closes #1366

Makefile.am
docs/Makefile.am
docs/libcurl/Makefile.am
src/Makefile.am

index 44a793188271a5ede437a079f7e46cf6a0fcded2..8ad806b48a374f65b536980a41bf2c9f88c7ebd8 100644 (file)
@@ -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
 
index 98ea293103dd2d0e9614d8f391d94ebf0e56c6ad..f57c00ea1613e099f0731868ca2cbe033e8c1176 100644 (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)
index 035e12eb4ff3b91280c8466e96e0f28dbb4e20a2..26fe6c68e329d340e3fa1c24d16a70b206ebb901 100644 (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'`; \
index 088a9f2c0576be49358bd8712ed6c60b3d051393..b59fb8786a7b1c026ce47c99b705e2a533753a06 100644 (file)
@@ -101,7 +101,7 @@ if USE_MANUAL
 # Here are the stuff to create a built-in manual
 
 $(MANPAGE):
-       cd $(top_builddir)/docs && make curl.1
+       cd $(top_builddir)/docs && $(MAKE) curl.1
 
 if HAVE_LIBZ
 # This generates the tool_hugehelp.c file in both uncompressed and