Install system configuration under /etc

This commit is contained in:
Mario Fetka
2026-07-15 06:52:35 +02:00
parent cf7e2a12be
commit 5bac50f36f
3 changed files with 11 additions and 3 deletions
+9 -1
View File
@@ -1,8 +1,16 @@
cmake_minimum_required(VERSION 3.20)
project(prozilla VERSION 2.2.3 LANGUAGES C CXX)
project(prozilla VERSION 2.2.4 LANGUAGES C CXX)
include(GNUInstallDirs)
# GNUInstallDirs historically expanded a /usr prefix to /usr/etc. System
# configuration belongs in /etc on FHS systems, independent of /usr.
if(CMAKE_INSTALL_PREFIX STREQUAL "/usr" AND
CMAKE_INSTALL_SYSCONFDIR STREQUAL "etc")
set(CMAKE_INSTALL_SYSCONFDIR "/etc" CACHE PATH
"System configuration directory" FORCE)
endif()
include(CheckIncludeFile)
include(CheckFunctionExists)
+1 -1
View File
@@ -1 +1 @@
install(FILES prozilla.conf DESTINATION "${CMAKE_INSTALL_SYSCONFDIR}")
install(FILES prozilla.conf DESTINATION "${CMAKE_INSTALL_FULL_SYSCONFDIR}")
+1 -1
View File
@@ -6,7 +6,7 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: prozilla 2.2.3\n"
"Project-Id-Version: prozilla 2.2.4\n"
"Report-Msgid-Bugs-To: prozilla-dev@disconnected-by-peer.at\n"
"POT-Creation-Date: 2026-07-14 20:35+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"