From 62a5ce73459c3932be3f976bcf73b26192a60bef Mon Sep 17 00:00:00 2001 From: gitlost Date: Tue, 5 Jan 2021 14:21:26 +0000 Subject: [PATCH] tools/update_version.php: backend_tcl: zint.c not needed, v_base_str configure.in --- tools/update_version.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tools/update_version.php b/tools/update_version.php index 73c3707e..bb6c4769 100644 --- a/tools/update_version.php +++ b/tools/update_version.php @@ -2,7 +2,7 @@ /* Update Zint version number in various files */ /* libzint - the open source barcode library - Copyright (C) 2020 Robin Stuart + Copyright (C) 2020 - 2021 Robin Stuart */ /* 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); -// 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 -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