You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
liblxqt-packaging/debian/rules

29 lines
623 B

10 years ago
#!/usr/bin/make -f
# export DH_VERBOSE=1
10 years ago
export LC_ALL=C.UTF-8
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
10 years ago
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
10 years ago
%:
dh ${@} --buildsystem cmake
override_dh_missing:
dh_missing --fail-missing
override_dh_auto_configure:
dh_auto_configure -- \
-DUPDATE_TRANSLATIONS=OFF \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
$(NOT_LINUX)