#!/usr/bin/make -f

export DEB_BUILD_HARDENING=1

export CSYNC_DIR=/usr/include/ocsync
#export DEB_CXXFLAGS_MAINT_APPEND = -fvisibility=hidden -fvisibility-inlines-hidden

%:
	dh $@ --parallel --with sphinxdoc --with pkgkde_symbolshelper

# Only do this for an indep build

override_dh_auto_configure-arch:
	dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr

override_dh_auto_configure-indep:
	dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr -DWITH_DOC=ON

override_dh_sphinxdoc-arch:

build: build-indep
