mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
tools/update_version.php: backend_tcl: zint.c not needed, v_base_str configure.in
This commit is contained in:
parent
04bf0ec99c
commit
62a5ce7345
@ -2,7 +2,7 @@
|
|||||||
/* Update Zint version number in various files */
|
/* Update Zint version number in various files */
|
||||||
/*
|
/*
|
||||||
libzint - the open source barcode library
|
libzint - the open source barcode library
|
||||||
Copyright (C) 2020 Robin Stuart <rstuart114@gmail.com>
|
Copyright (C) 2020 - 2021 Robin Stuart <rstuart114@gmail.com>
|
||||||
*/
|
*/
|
||||||
/* Run from project directory
|
/* Run from project directory
|
||||||
*
|
*
|
||||||
@ -193,13 +193,9 @@ if (!file_put_contents($file, implode("\n", $lines))) {
|
|||||||
|
|
||||||
version_replace(1, $data_dirname . 'backend/Makefile.mingw', '/^ZINT_VERSION:=-DZINT_VERSION=/', '/[0-9.]+/', $v_str);
|
version_replace(1, $data_dirname . 'backend/Makefile.mingw', '/^ZINT_VERSION:=-DZINT_VERSION=/', '/[0-9.]+/', $v_str);
|
||||||
|
|
||||||
// backend_tcl/zint.c
|
|
||||||
|
|
||||||
version_replace(1, $data_dirname . 'backend_tcl/zint.c', '/#define[ \t]+VERSION[ \t]+"/', '/[0-9.]+/', $v_str);
|
|
||||||
|
|
||||||
// backend_tcl/configure.in
|
// backend_tcl/configure.in
|
||||||
|
|
||||||
version_replace(1, $data_dirname . 'backend_tcl/configure.in', '/^AC_INIT\(\[zint\],[ \t]*\[/', '/[0-9.]+/', $v_str);
|
version_replace(1, $data_dirname . 'backend_tcl/configure.in', '/^AC_INIT\(\[zint\],[ \t]*\[/', '/[0-9.]+/', $v_base_str);
|
||||||
|
|
||||||
// frontend/zint.rc
|
// frontend/zint.rc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user