Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make: use the variable MAKE for recursive calls #1366

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions docs/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions docs/libcurl/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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'`; \
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down