#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

ifeq ($(DEB_BUILD_ARCH),armhf)
export DEB_CXXFLAGS_MAINT_APPEND=-O0
endif

%:
	dh $@ 

override_dh_clean:
	rm -f libcmis-0.2.pc
	rm -f cmis-client.1
	dh_clean

override_dh_auto_configure:
	dh_auto_configure -- --disable-long-tests CXXFLAGS= --disable-werror

override_dh_auto_build:
	$(MAKE) V=1

override_dh_auto_test:
	$(MAKE) check V=1
