28 lines
573 B
Plaintext
Raw Permalink Normal View History

2014-09-08 23:14:59 +02:00
#!/usr/bin/make -f
# export DH_VERBOSE=1
2014-09-08 23:14:59 +02:00
export LC_ALL=C.UTF-8
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
2014-09-08 23:14:59 +02:00
2020-04-09 15:19:28 +05:30
WHICH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
ifeq ($(WHICH_OS), hurd)
NOT_LINUX := -DBUILD_BACKLIGHT_LINUX_BACKEND=NO
endif
ifeq ($(WHICH_OS), kfreebsd)
NOT_LINUX := -DBUILD_BACKLIGHT_LINUX_BACKEND=NO
endif
2014-09-08 23:14:59 +02:00
%:
2017-12-04 03:08:16 +01:00
dh ${@} --buildsystem cmake
override_dh_missing:
dh_missing --fail-missing
override_dh_auto_configure:
dh_auto_configure -- \
2020-04-09 15:19:28 +05:30
-DUPDATE_TRANSLATIONS=OFF \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
$(NOT_LINUX)