2015-06-04 05:06:23 -05:00
|
|
|
#!/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
|
|
|
|
|
2017-05-30 06:34:39 -05:00
|
|
|
CONFFLAGS = --enable-silent-rules --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-lokit-path=`pwd`/bundled/include $(CONFIG_OPTIONS)
|
2015-06-04 05:06:23 -05:00
|
|
|
|
|
|
|
# Avoid setcap when doing "make", when building for packaging
|
|
|
|
# the setcap is done at installation time
|
|
|
|
export BUILDING_FROM_RPMBUILD=yes
|
|
|
|
|
|
|
|
# main packaging script based on dh7 syntax
|
|
|
|
%:
|
2016-09-25 12:18:38 -05:00
|
|
|
dh $@ --with=systemd
|
2015-06-04 05:06:23 -05:00
|
|
|
|
|
|
|
override_dh_auto_configure:
|
|
|
|
./configure $(CONFFLAGS)
|
2016-01-08 08:04:35 -06:00
|
|
|
|
|
|
|
override_dh_auto_test:
|
|
|
|
# do not test
|
2016-05-10 08:00:20 -05:00
|
|
|
|
2016-09-19 09:54:53 -05:00
|
|
|
override_dh_installinit:
|
|
|
|
# no init.d scripts here, assume systemd
|
2017-03-20 17:22:26 -05:00
|
|
|
|
|
|
|
override_dh_gencontrol:
|
|
|
|
# put package names of LibreOffice here
|
|
|
|
# dh_gencontrol -- -Vlo:Depends=""
|