1
0
mirror of https://github.com/libssh2/libssh2.git synced 2026-10-24 03:48:58 +03:00

scripts: move maketgz, git2news.pl from root to scripts directory

To match curl and to avoid clutter in root.

Closes #1918
This commit is contained in:
Viktor Szakats
2026-05-01 16:29:48 +02:00
parent d7d8d6148f
commit 07ffced7c2
5 changed files with 9 additions and 8 deletions

View File

@@ -630,11 +630,11 @@ jobs:
export SOURCE_DATE_EPOCH=1711526400
./configure --enable-werror --disable-debug \
--disable-dependency-tracking
./maketgz 99.98.97
./scripts/maketgz 99.98.97
# Test reproducibility
mkdir run1; mv ./libssh2-99.98.97.* run1/
make clean
./maketgz 99.98.97
./scripts/maketgz 99.98.97
mkdir run2; cp -p ./libssh2-99.98.97.* run2/
diff run1 run2
# Test build from tarball

View File

@@ -41,14 +41,15 @@ SCRIPTSFILES = \
scripts/checksrc-all.pl \
scripts/checksrc.pl \
scripts/cmakelint.sh \
scripts/git2news.pl \
scripts/maketgz \
scripts/spacecheck.pl \
scripts/spellcheck.sh \
scripts/codespell-ignore.words
EXTRA_DIST = $(WIN32FILES) \
maketgz RELEASE-NOTES libssh2.pc.in $(VMSFILES) config.rpath \
CMakeLists.txt cmake git2news.pl libssh2-style.el README.md $(OS400FILES) \
$(SCRIPTSFILES)
RELEASE-NOTES libssh2.pc.in $(VMSFILES) config.rpath \
CMakeLists.txt cmake libssh2-style.el README.md $(OS400FILES) $(SCRIPTSFILES)
ACLOCAL_AMFLAGS = -I m4

View File

@@ -49,7 +49,7 @@
banner. Release versions have no appended strings and may of course not
have dashes either. The release version (without "_DEV") is not stored in
the source code repo, as the version is properly set in the tarballs by the
maketgz script.*/
scripts/maketgz script.*/
#define LIBSSH2_VERSION "1.11.2_DEV"
/* The numeric version number is also available "in parts" by using these
@@ -78,7 +78,7 @@
/*
* This is the date and time when the full source package was created. The
* timestamp is not stored in the source code repo, as the timestamp is
* properly set in the tarballs by the maketgz script.
* properly set in the tarballs by the scripts/maketgz script.
*
* The format of the date should follow this template:
*

View File

@@ -101,7 +101,7 @@ fi
# Generate the changelog
#
echo "generate NEWS"
git log --pretty=fuller --no-color --date=short --decorate=full -1000 | ./git2news.pl > NEWS.dist
git log --pretty=fuller --no-color --date=short --decorate=full -1000 | "$(dirname "$0")"/git2news.pl > NEWS.dist
############################################################################
#