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

# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1

include /usr/share/dpkg/default.mk

CONFFLAGS = --enable-silent-rules --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-lokit-path=`pwd`/bundled/include --disable-setcap $(CONFIG_OPTIONS)

# main packaging script based on dh7 syntax
%:
	dh $@ --with=systemd --parallel

override_dh_auto_configure:
	./configure $(CONFFLAGS)

override_dh_auto_test:
	# do not test

override_dh_installinit:
	# no init.d scripts here, assume systemd

override_dh_gencontrol:
	# put package names of LibreOffice here
	# dh_gencontrol -- -Vlo:Depends=""