| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
# Uncomment this to turn on verbose mode. |
| 4 |
#export DH_VERBOSE=1 |
| 5 |
|
| 6 |
# see https://cgit.freedesktop.org/libreoffice/core/commit/?id=fabad007c60958f2ff87e8f636ff6a798ad1f963 |
| 7 |
#ifeq "$(shell dpkg --compare-versions `pkg-config --modversion icu-i18n` ge 59 && echo true)" "true" |
| 8 |
# export DEB_CXXFLAGS_MAINT_APPEND := -DUCHAR_TYPE=uint16_t |
| 9 |
#endif |
| 10 |
|
| 11 |
export DPKG_EXPORT_BUILDFLAGS=y |
| 12 |
include /usr/share/dpkg/buildflags.mk |
| 13 |
|
| 14 |
export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 15 |
|
| 16 |
%: |
| 17 |
dh $@ |
| 18 |
|
| 19 |
override_dh_auto_configure: |
| 20 |
dh_auto_configure -- --without-docs --disable-werror |
| 21 |
|