diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2023-05-08 11:23:17 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2023-05-08 11:31:34 +0200 |
commit | 2ca3162070b501b5bcb14da72a271060cdd35758 (patch) | |
tree | c9c3e0a94320b891db95977894831637a05b19c3 | |
parent | bc1e41f2a6a1112ae75310bd49ae885e4cca2d4a (diff) | |
download | libpcap-2ca3162070b501b5bcb14da72a271060cdd35758.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.in | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in index 7421daa7..182aaa5e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -865,10 +865,10 @@ releasecheck: releasetar touch .devel && \ echo "[$@] $$ ./configure --enable-remote --quiet --prefix=$$INSTALL_DIR" && \ ./configure --enable-remote --quiet --prefix="$$INSTALL_DIR" && \ - echo '[$@] $$ make -s all testprogs' && \ - make -s all testprogs && \ - echo '[$@] $$ make -s install' && \ - make -s install && \ + echo '[$@] $$ $(MAKE) -s all testprogs' && \ + $(MAKE) -s all testprogs && \ + echo '[$@] $$ $(MAKE) -s install' && \ + $(MAKE) -s install && \ cd .. && \ rm -rf "$$TAG" && \ rm -rf "$$INSTALL_DIR" && \ @@ -883,10 +883,10 @@ releasecheck: releasetar -DCMAKE_RULE_MESSAGES=OFF \ -DCMAKE_INSTALL_MESSAGE=NEVER \ .. && \ - echo '[$@] $$ make -s all testprogs' && \ - make -s all testprogs && \ - echo '[$@] $$ make -s install' && \ - make -s install && \ + echo '[$@] $$ $(MAKE) -s all testprogs' && \ + $(MAKE) -s all testprogs && \ + echo '[$@] $$ $(MAKE) -s install' && \ + $(MAKE) -s install && \ cd ../.. && \ rm -rf "$$TAG" && \ rm -rf "$$INSTALL_DIR" && \ |