1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
export DEB_CXXFLAGS_MAINT_APPEND = -Wall -DNDEBUG
%:
dh $@ --buildsystem=cmake
override_dh_auto_build:
dh_auto_build -- all
# Don't install the bundled fonts: On debian there is a package for them, instead.
override_dh_auto_configure:
dh_auto_configure -- -DWXM_INCLUDE_FONTS=OFF
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
xvfb-run make test
endif
.PHONY: get-orig-source
|