#!/usr/bin/make -f
%:
	dh $@

override_dh_install:
	dh_install --list-missing
	# Drop content of dependency_libs to avoid having to recompile
	# if the path of the libs that appear there changes
	sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`

override_dh_strip:
	dh_strip --dbgsym-migration='libcommoncpp2-dbg (<< 1.8.1-7~)'

help2man:
	/usr/bin/help2man -N -S 'Debian GNU/Linux' -o debian/ccgnu2-config.8 ccgnu2-config \
	    -n 'script to get information about the installed version of libcommoncpp2'
