From: Vsevolod Stakhov Date: Fri, 13 Mar 2015 11:23:31 +0000 (+0000) Subject: Add specific workaround for debian. X-Git-Tag: 0.9.0~504 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=071744413350b8643cfa287b5279f0486b3516f0;p=rspamd.git Add specific workaround for debian. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 5d6d7e853..8aba1a0e4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1061,6 +1061,10 @@ IF(BUILD_PORT) ELSE(BUILD_PORT) INSTALL_IF_NOT_EXISTS(${MAIN_CONF} ${CONFDIR} "rspamd.conf" "") ENDIF(BUILD_PORT) +# Debian is also special +IF(DEBIAN_BUILD) + INSTALL_IF_NOT_EXISTS("conf/rspamd.sysvinit.conf" ${CONFDIR} "rspamd.sysvinit.conf" "") +ENDIF(DEBIAN_BUILD) IF(INSTALL_EXAMPLES MATCHES "ON") INSTALL(FILES ${MAIN_CONF} DESTINATION ${EXAMPLESDIR}) ENDIF(INSTALL_EXAMPLES MATCHES "ON")