| 1 |
#!/usr/bin/make -f |
| 2 |
# export DH_VERBOSE=1 |
| 3 |
|
| 4 |
export LC_ALL=C.UTF-8 |
| 5 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 6 |
|
| 7 |
include /usr/share/dpkg/architecture.mk |
| 8 |
|
| 9 |
ifeq ($(DEB_HOST_ARCH_OS), kfreebsd) |
| 10 |
CONF_FLAGS := -DCPULOAD_PLUGIN=NO -DNETWORKMONITOR_PLUGIN=NO -DVOLUME_PLUGIN=NO |
| 11 |
endif |
| 12 |
|
| 13 |
ifeq ($(DEB_HOST_ARCH_OS), hurd) |
| 14 |
CONF_FLAGS := -DCPULOAD_PLUGIN=NO -DNETWORKMONITOR_PLUGIN=NO -DVOLUME_PLUGIN=NO -DSENSORS_PLUGIN=NO |
| 15 |
endif |
| 16 |
|
| 17 |
|
| 18 |
%: |
| 19 |
dh ${@} --buildsystem cmake |
| 20 |
|
| 21 |
override_dh_auto_configure: |
| 22 |
dh_auto_configure -- \ |
| 23 |
-DUPDATE_TRANSLATIONS=OFF \ |
| 24 |
-DDOM_PLUGIN=YES \ |
| 25 |
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ |
| 26 |
$(CONF_FLAGS) |
| 27 |
|
| 28 |
execute_before_dh_auto_build: |
| 29 |
@echo "blhc: ignore-line-regexp: .*/CMakeCXXCompilerABI[.]cpp.*" |