]> jfr.im git - irc/weechat/weechat.git/commitdiff
core: rename script git-version.sh to set_git_version.sh
authorSébastien Helleu <redacted>
Thu, 5 Jan 2023 07:01:48 +0000 (08:01 +0100)
committerSébastien Helleu <redacted>
Thu, 5 Jan 2023 07:01:48 +0000 (08:01 +0100)
CMakeLists.txt
ChangeLog.adoc
Makefile.am
tools/set_git_version.sh [moved from tools/git-version.sh with 97% similarity]

index 1d0fa1fdcff539785780ba7e95867ad6c9697a7f..c477a8869f987819f45bd47c2d8a295259265522 100644 (file)
@@ -247,7 +247,7 @@ configure_file(config.h.cmake config.h @ONLY)
 
 # set the git version in "config-git.h"
 add_custom_target(version_git ALL
-  COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/tools/git-version.sh" "${CMAKE_CURRENT_SOURCE_DIR}" "${VERSION}" "config-git.h"
+  COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/tools/set_git_version.sh" "${CMAKE_CURRENT_SOURCE_DIR}" "${VERSION}" "config-git.h"
   WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
 )
 
index d6698b95f025574ff8fca37aa4a3aaadb636beaf..672289d6849a83c3d5353c87e679289fe33eb474 100644 (file)
@@ -65,6 +65,7 @@ Tests::
 
 Build::
 
+  * core: rename script git-version.sh to set_git_version.sh
   * debian: change dependency guile-2.2-dev to guile-3.0-dev
   * python: remove support of Python 2.x
   * ruby: add detection of Ruby 3.2
index 972ef450233a58868aaa0d4c6597852d0e5275bd..b02ee948ce30ca12b8ca04c6370795a07c7b647d 100644 (file)
@@ -23,7 +23,7 @@
 # (if needed, and only for a devel/rc version).
 BUILT_SOURCES = build-config-git.h
 build-config-git.h:
-       -$(abs_top_srcdir)/tools/git-version.sh "$(abs_top_srcdir)" "$(VERSION)" config-git.h
+       -$(abs_top_srcdir)/tools/set_git_version.sh "$(abs_top_srcdir)" "$(VERSION)" config-git.h
 
 if TESTS
 tests_dir = tests
@@ -61,7 +61,7 @@ EXTRA_DIST = AUTHORS.adoc \
              po/CMakeLists.txt \
              po/srcfiles.cmake \
              tools/build-test.sh \
-             tools/git-version.sh \
+             tools/set_git_version.sh \
              tools/makedist.sh \
              version.sh \
              weechat.desktop \
similarity index 97%
rename from tools/git-version.sh
rename to tools/set_git_version.sh
index a983a5dac4e8813b7de28bac7dbf73eeb30bfbfc..fb2293be047459c6676d368560521e42c56034ad 100755 (executable)
@@ -22,7 +22,7 @@
 # Updates git version in config-git.h if the output of "git describe" has changed.
 #
 # Syntax:
-#    git-version.sh <rootdir> <version> <headerfile>
+#    set_git_version.sh <rootdir> <version> <headerfile>
 #
 #       rootdir   : root directory with WeeChat files (to search .git/ directory)
 #       version   : WeeChat version, for example 0.3.9 or 0.4.0-dev