Skip to content

Commit 02a09dc

Browse files
committed
Makefile.in: Add "make -s install" in the releasecheck target
1 parent d98b177 commit 02a09dc

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Monthday, Month DD, YYYY by gharris and denis
4444
Makefile.in: Add the releasecheck target.
4545
Cirrus CI: Add the "make releasecheck" command in the Linux task.
4646
CI: Introduce and use TCPDUMP_CMAKE_TAINTED.
47+
Makefile.in: Add "make -s install" in the releasecheck target.
4748

4849
TBD
4950
Summary for 4.99.2 tcpdump release (so far!)

Makefile.in

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -490,29 +490,40 @@ releasetar:
490490

491491
releasecheck: releasetar
492492
@TAG=$(PROG)-`cat VERSION` && \
493+
INSTALL_DIR=/tmp/install_"$$TAG"_$$$$ && \
493494
DIR=`pwd` && \
494495
cd /tmp && \
495496
rm -rf "$$TAG" && \
497+
rm -rf "$$INSTALL_DIR" && \
496498
tar xf "$$DIR"/"$$TAG".tar.gz && \
497499
cd "$$TAG" && \
498-
echo '[$@] $$ ./configure --enable-smb --quiet' && \
499-
./configure --enable-smb --quiet && \
500+
echo "[$@] $$ ./configure --enable-smb --quiet --prefix=$$INSTALL_DIR" && \
501+
./configure --enable-smb --quiet --prefix="$$INSTALL_DIR" && \
500502
echo '[$@] $$ make -s all check' && \
501503
make -s all check >/dev/null && \
504+
echo '[$@] $$ make -s install' && \
505+
make -s install && \
502506
cd .. && \
503507
rm -rf "$$TAG" && \
508+
rm -rf "$$INSTALL_DIR" && \
504509
tar xf "$$DIR"/"$$TAG".tar.gz && \
505510
cd "$$TAG" && \
506511
mkdir build && \
507512
cd build && \
508513
echo '[$@] $$ cmake -DENABLE_SMB=yes [...] ..' && \
509514
cmake -DENABLE_SMB=yes \
515+
-DCMAKE_INSTALL_PREFIX="$$INSTALL_DIR" \
510516
-DCMAKE_MESSAGE_LOG_LEVEL=NOTICE \
511-
-DCMAKE_RULE_MESSAGES=OFF .. && \
517+
-DCMAKE_RULE_MESSAGES=OFF \
518+
-DCMAKE_INSTALL_MESSAGE=NEVER \
519+
.. && \
512520
echo '[$@] $$ make -s all check' && \
513521
make -s all check >/dev/null && \
522+
echo '[$@] $$ make -s install' && \
523+
make -s install && \
514524
cd ../.. && \
515525
rm -rf "$$TAG" && \
526+
rm -rf "$$INSTALL_DIR" && \
516527
echo '[$@] Done.'
517528

518529
testlist:

0 commit comments

Comments
 (0)