libreoffice-online/debian/rules
Christian Glombek 51993b8990 Adds ENABLE_SETCAP build variable to avoid using env in build system.
Change-Id: Id38d2225238f8b3a48481a08e62cfa7544958cc9
Reviewed-on: https://gerrit.libreoffice.org/49097
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-02-04 22:27:09 +01:00

25 lines
644 B
Makefile
Executable file

#!/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
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=""