summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2022-12-11 18:58:31 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2022-12-11 19:03:19 +0100
commit02a09dc8d38a588b468892e9aaf96492423bd471 (patch)
treefa77afe1fb4bc2871d11aa6a688260d30e823dc9
parentd98b1777c728354d55aab391d1f20ef8f3f46bb6 (diff)
downloadtcpdump-02a09dc8d38a588b468892e9aaf96492423bd471.tar.gz
Makefile.in: Add "make -s install" in the releasecheck target
-rw-r--r--CHANGES1
-rw-r--r--Makefile.in17
2 files changed, 15 insertions, 3 deletions
diff --git a/CHANGES b/CHANGES
index 81d0d9fe..43da5e87 100644
--- a/CHANGES
+++ b/CHANGES
@@ -44,6 +44,7 @@ Monthday, Month DD, YYYY by gharris and denis
Makefile.in: Add the releasecheck target.
Cirrus CI: Add the "make releasecheck" command in the Linux task.
CI: Introduce and use TCPDUMP_CMAKE_TAINTED.
+ Makefile.in: Add "make -s install" in the releasecheck target.
TBD
Summary for 4.99.2 tcpdump release (so far!)
diff --git a/Makefile.in b/Makefile.in
index 85c67f61..0054f05f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -490,29 +490,40 @@ releasetar:
releasecheck: releasetar
@TAG=$(PROG)-`cat VERSION` && \
+ INSTALL_DIR=/tmp/install_"$$TAG"_$$$$ && \
DIR=`pwd` && \
cd /tmp && \
rm -rf "$$TAG" && \
+ rm -rf "$$INSTALL_DIR" && \
tar xf "$$DIR"/"$$TAG".tar.gz && \
cd "$$TAG" && \
- echo '[$@] $$ ./configure --enable-smb --quiet' && \
- ./configure --enable-smb --quiet && \
+ 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 && \
cd .. && \
rm -rf "$$TAG" && \
+ rm -rf "$$INSTALL_DIR" && \
tar xf "$$DIR"/"$$TAG".tar.gz && \
cd "$$TAG" && \
mkdir build && \
cd build && \
echo '[$@] $$ cmake -DENABLE_SMB=yes [...] ..' && \
cmake -DENABLE_SMB=yes \
+ -DCMAKE_INSTALL_PREFIX="$$INSTALL_DIR" \
-DCMAKE_MESSAGE_LOG_LEVEL=NOTICE \
- -DCMAKE_RULE_MESSAGES=OFF .. && \
+ -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 && \
cd ../.. && \
rm -rf "$$TAG" && \
+ rm -rf "$$INSTALL_DIR" && \
echo '[$@] Done.'
testlist: