8dfa3a49c7
Change-Id: Idae03c6ad015d5f09ce012117e6ffb88b7c7abb8 Reviewed-on: https://gerrit.libreoffice.org/29037 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
29 lines
762 B
Makefile
Executable file
29 lines
762 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 = --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-lokit-path=`pwd`/bundled/include $(CONFIG_OPTIONS)
|
|
|
|
# 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
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_configure:
|
|
./configure $(CONFFLAGS)
|
|
|
|
override_dh_auto_test:
|
|
# do not test
|
|
|
|
override_dh_auto_install:
|
|
make install DESTDIR=`pwd`/debian/loolwsd/
|
|
cp -ar `pwd`/loleaflet `pwd`/debian/loolwsd/usr/share/loolwsd
|
|
|
|
override_dh_installinit:
|
|
# no init.d scripts here, assume systemd
|