mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
core: rename script git-version.sh to set_git_version.sh
This commit is contained in:
+1
-1
@@ -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}"
|
||||
)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
+2
-2
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user