]> source.dussan.org Git - rspamd.git/commitdiff
Add specific workaround for debian.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 13 Mar 2015 11:23:31 +0000 (11:23 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 13 Mar 2015 12:03:28 +0000 (12:03 +0000)
CMakeLists.txt

index 5d6d7e853600b809c8720548220fffd051f8d020..8aba1a0e45d29639f56504a5ee1045bafe71ddf2 100644 (file)
@@ -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")