#!/usr/bin/make -f # Grab the version from the changelog, up to the first - DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p') %: dh $@ --parallel --with autoreconf override_dh_auto_configure: dh_auto_configure -- --disable-josua --program-suffix=-$(DEB_UPSTREAM_VERSION) override_dh_auto_build: dh_auto_build -- all doxygen override_dh_install: dh_install --list-missing # Drop content of dependency_libs to avoid having to recompile exiv2 # if the path of the libs that appear there changes sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'` override_dh_autoreconf: dh_autoreconf ./autogen.sh