summaryrefslogtreecommitdiff
path: root/Makefile.in
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 /Makefile.in
parentd98b1777c728354d55aab391d1f20ef8f3f46bb6 (diff)
downloadtcpdump-02a09dc8d38a588b468892e9aaf96492423bd471.tar.gz
Makefile.in: Add "make -s install" in the releasecheck target
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in17
1 files changed, 14 insertions, 3 deletions
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: