aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: 2a50cc64b384e05c990a27f93ba862e908bc40ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

#export DEB_BUILD_MAINT_OPTIONS=hardening=+all

include /usr/share/dpkg/buildflags.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk

DEB_CMAKE_NORMAL_ARGS+= 			-DCONFDIR=/etc/rspamd \
						-DMANDIR=/usr/share/man \
						-DRUNDIR=/var/lib/rspamd \
						-DDBDIR=/var/lib/rspamd \
						-DLOGDIR=/var/log/rspamd \
						-DPLUGINSDIR=/usr/share/rspamd \
						-DLIBDIR=/usr/lib \
						-DINCLUDEDIR=/usr/include \
						-DNO_SHARED=ON \
						-DDEBIAN_BUILD=1 \
						-DRSPAMD_GROUP=rspamd \
						-DRSPAMD_USER=rspamd
clean::
	rm -f src/modules.c