From: Francois-Xavier Le Bail Date: Sun, 30 May 2021 08:40:53 +0000 (+0200) Subject: Makefile.in: Add the build for release candidates X-Git-Tag: tcpdump-4.99.1~8 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/32ee59081b5f1e4918b7a28da330400e636b6469 Makefile.in: Add the build for release candidates It adds rcX suffix to the version. This avoid to manually update 'VERSION' and 'configure'. Same as for libpcap. (cherry picked from commit 4356f99512f7a4fd6ff8780b1e75aa102aaf3402) --- diff --git a/Makefile.in b/Makefile.in index 5fbccaf2..f7589dd8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -464,6 +464,12 @@ releasetar: tar -c -z -f $$name.tar.gz $$name; \ rm -rf $$name +rc1 rc2 rc3 rc4 rc5: + @VER=`cat $(srcdir)/VERSION`; \ + sed -i "s/$$VER/$${VER}$@/" VERSION ; \ + make releasetar; \ + git checkout VERSION configure + testlist: echo $(TEST_DIST)