summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2023-05-08 10:41:28 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2023-05-08 10:56:51 +0200
commit935c78eba798706b3c6aa3106522439bf1fc9d3b (patch)
tree25cf5574ff7267cb019df8eb35322e5d1d446d99
parentc793dbef549f0c7bad09daa33e0b4bf5d1f62f04 (diff)
downloadtcpdump-935c78eba798706b3c6aa3106522439bf1fc9d3b.tar.gz
Makefile.in: Use the variable MAKE instead of the make command
From https://www.gnu.org/software/make/manual/make.html#MAKE-Variable: ``` Recursive make commands should always use the variable MAKE, not the explicit command name 'make', as shown here: subsystem: cd subdir && $(MAKE) ``` This should avoid the following warning when running 'make releasecheck' in some cases: make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
-rw-r--r--Makefile.in16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in
index 1ddeae85..cd0f01c3 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -512,10 +512,10 @@ releasecheck: releasetar
cd "$$TAG" && \
echo "[$@] $$ ./configure --enable-smb --quiet --prefix=$$INSTALL_DIR" && \
./configure --enable-smb --quiet --prefix="$$INSTALL_DIR" && \
- echo '[$@] $$ make -s all check' && \
- make -s all check >/dev/null && \
- echo '[$@] $$ make -s install' && \
- make -s install && \
+ echo '[$@] $$ $(MAKE) -s all check' && \
+ $(MAKE) -s all check >/dev/null && \
+ echo '[$@] $$ $(MAKE) -s install' && \
+ $(MAKE) -s install && \
cd .. && \
rm -rf "$$TAG" && \
rm -rf "$$INSTALL_DIR" && \
@@ -530,10 +530,10 @@ releasecheck: releasetar
-DCMAKE_RULE_MESSAGES=OFF \
-DCMAKE_INSTALL_MESSAGE=NEVER \
.. && \
- echo '[$@] $$ make -s all check' && \
- make -s all check >/dev/null && \
- echo '[$@] $$ make -s install' && \
- make -s install && \
+ echo '[$@] $$ $(MAKE) -s all check' && \
+ $(MAKE) -s all check >/dev/null && \
+ echo '[$@] $$ $(MAKE) -s install' && \
+ $(MAKE) -s install && \
cd ../.. && \
rm -rf "$$TAG" && \
rm -rf "$$INSTALL_DIR" && \