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
|
|
|
|
|
2016-08-05 11:38:42 -05:00
|
|
|
CONFFLAGS = --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
|
|
|
|
%:
|
|
|
|
dh $@
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
override_dh_auto_install:
|
|
|
|
make install DESTDIR=`pwd`/debian/loolwsd/
|
|
|
|
cp -ar `pwd`/loleaflet `pwd`/debian/loolwsd/usr/share/loolwsd
|