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 26 27 28
|
#!/usr/bin/make -f
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
VOIKKO_DEBUG = FULL
else
VOIKKO_DEBUG = NO
endif
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_BUILD_HARDENING=1
LC_ALL := C.UTF-8
export LC_ALL
%:
dh $@ --fail-missing --parallel --with=python3
override_dh_auto_clean:
$(MAKE) VOIKKO_DEBUG=$(VOIKKO_DEBUG) clean
override_dh_auto_build:
$(MAKE) VOIKKO_DEBUG=$(VOIKKO_DEBUG) oxt
override_dh_auto_install:
mkdir -p debian/tmp/usr/lib/libreoffice/share/extensions/voikko
unzip -d debian/tmp/usr/lib/libreoffice/share/extensions/voikko/ build/voikko.oxt
override_dh_auto_test:
|