aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--Makefile2
-rw-r--r--meson.build4
-rwxr-xr-xscripts/version.sh (renamed from scripts/version-bump.sh)0
4 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c927706..0bb0af5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,7 +21,7 @@ add_custom_command(TARGET "tinyalsa"
POST_BUILD
COMMENT "Checking version against the changelog"
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
- COMMAND ${PROJECT_SOURCE_DIR}/scripts/version-bump.sh check)
+ COMMAND ${PROJECT_SOURCE_DIR}/scripts/version.sh check)
macro(ADD_EXAMPLE EXAMPLE)
add_executable(${EXAMPLE} ${ARGN})
diff --git a/Makefile b/Makefile
index ea9bfef..f268487 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ export LIBDIR ?= $(PREFIX)/lib
export BINDIR ?= $(PREFIX)/bin
export MANDIR ?= $(PREFIX)/share/man
-export VERSIONSCRIPT = $(shell pwd)/scripts/version-bump.sh
+export VERSIONSCRIPT = $(shell pwd)/scripts/version.sh
export TINYALSA_VERSION_MAJOR = $(shell $(VERSIONSCRIPT) -s print major)
export TINYALSA_VERSION = $(shell $(VERSIONSCRIPT) -s print )
diff --git a/meson.build b/meson.build
index 04edda5..7762706 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
project ('tinyalsa', 'c',
- version : run_command(find_program('scripts/version-bump.sh'), 'print', '-s').stdout().strip(),
+ version : run_command(find_program('scripts/version.sh'), 'print', '-s').stdout().strip(),
meson_version : '>= 0.48.0')
tinyalsa_includes = include_directories('.', 'include')
@@ -10,7 +10,7 @@ tinyalsa = library('tinyalsa',
version: meson.project_version(),
install: true)
-log_version = run_command(find_program('scripts/version-bump.sh'), 'check')
+log_version = run_command(find_program('scripts/version.sh'), 'check')
if log_version.returncode() != 0
error(log_version.stderr())
endif
diff --git a/scripts/version-bump.sh b/scripts/version.sh
index 8876c40..8876c40 100755
--- a/scripts/version-bump.sh
+++ b/scripts/version.sh