diff cmake/IrccdOptions.cmake @ 709:1b04ffb2b35e

CMake: switch to GNUInstallDirs, closes #873 @1h
author David Demelier <markand@malikania.fr>
date Sat, 07 Jul 2018 10:59:19 +0200
parents 2007a37d7e1a
children 8c44bbcbbab9
line wrap: on
line diff
--- a/cmake/IrccdOptions.cmake	Sat Jul 07 09:21:10 2018 +0200
+++ b/cmake/IrccdOptions.cmake	Sat Jul 07 10:59:19 2018 +0200
@@ -36,21 +36,6 @@
 # defined automatically from the IRCCD_PLUGINS list.
 #
 
-#
-# Options that controls both installations and the irccd runtime:
-#
-# IRCCD_WITH_BINDIR         Binary directory for irccd, irccdctl
-# IRCCD_WITH_CACHEDIR       Path where to store temporary files
-# IRCCD_WITH_CMAKEDIR       Path where to install CMake configuration files
-# IRCCD_WITH_DATADIR        Path for data files
-# IRCCD_WITH_DOCDIR         Path where to install documentation
-# IRCCD_WITH_MANDIR         Path where to install manuals
-# IRCCD_WITH_PKGCONFIGDIR   Path where to install pkg-config files
-# IRCCD_WITH_PLUGINDIR      Path where plugins must be installed
-# IRCCD_WITH_SYSCONFDIR     Path where to install configuration files
-# IRCCD_WITH_SYSTEMDDIR     Path where to install systemd unit file
-#
-
 # Manual pages on Windows are pretty useless.
 if (WIN32)
     set(DEFAULT_MAN "No")
@@ -85,22 +70,6 @@
 option(IRCCD_WITH_VERA "Enable vera++" On)
 
 #
-# Installation paths.
-# -------------------------------------------------------------------
-#
-
-set(IRCCD_WITH_BINDIR "bin" CACHE STRING "Binary directory")
-set(IRCCD_WITH_CACHEDIR "var/cache/irccd" CACHE STRING "Cache directory")
-set(IRCCD_WITH_CMAKEDIR "lib/cmake" CACHE STRING "Directory for CMake modules")
-set(IRCCD_WITH_DATADIR "share/irccd" CACHE STRING "Directory for additional data")
-set(IRCCD_WITH_DOCDIR "share/doc/irccd" CACHE STRING "Documentation directory")
-set(IRCCD_WITH_MANDIR "share/man" CACHE STRING "Man directory")
-set(IRCCD_WITH_PKGCONFIGDIR "lib/pkgconfig" CACHE STRING "Directory for pkg-config file")
-set(IRCCD_WITH_PLUGINDIR "libexec/irccd/plugins" CACHE STRING "Module prefix where to install")
-set(IRCCD_WITH_SYSCONFDIR "etc/irccd" CACHE STRING "Configuration directory")
-set(IRCCD_WITH_SYSTEMDDIR "/usr/lib/systemd/system" CACHE STRING "Absolute path where to install systemd files")
-
-#
 # Internal dependencies.
 # -------------------------------------------------------------------
 #