Alf Gaida cbc1b8743d Remove dbg package in favor of dbgsym.
Build cpuoad- and networkmonitor-plugin only for linux OS.
2015-12-27 11:17:22 +01:00

19 lines
403 B
Makefile
Executable File

#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
ifneq ($(DEB_HOST_ARCH_OS),linux)
NOT_LINUX := -DCPULOAD_PLUGIN=NO -DNETWORKMONITOR_PLUGIN=NO
endif
%:
dh ${@} --buildsystem cmake \
--parallel
override_dh_auto_configure:
dh_auto_configure -- -DDOM_PLUGIN=YES $(NOT_LINUX)