From 4afde068b8e48d8e2925eb2f9c9682b3c50cb703 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Thu, 28 Dec 2023 12:40:46 +0600 Subject: [PATCH] Fixed version pasting and cleaning --- Makefile | 1 + source/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4d1977f..b21e3ae 100644 --- a/Makefile +++ b/Makefile @@ -129,6 +129,7 @@ install: check clean: @echo "Clean ..." + @sed -r "s/^(project\(${PKGNAME} VERSION ).*/\10\)/" -i ${FILE_VER} @$(RM) -rd ${CMAKE_UI_BUILD_DIR} @$(RM) -rd ${CMAKE_UI_BUILD_DIR} @if [ -d ${CMAKE_UI_BUILD_DIR} ]; then \ diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index d8ef1b0..a985bc6 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.9) -project(libublsettingsui-gtk3 VERSION 1.0) +project(libublsettingsui-gtk3 VERSION 0) include(GNUInstallDirs) find_package(PkgConfig REQUIRED)