#!/usr/bin/make -f SOURCE = intel-gpu-tools # Disable CCACHE for sbuild. Should be fixed in compat 13. See bug #935817. export CCACHE_DISABLE=true override_dh_autoreconf: echo "EXTRA_DIST =" > gtk-doc.make echo "CLEANFILES =" >> gtk-doc.make dh_autoreconf --as-needed override_dh_clean: dh_clean rm -f gtk-doc.make # FIXME: building debugger causes FTBFS override_dh_auto_configure: dh_auto_configure -- \ -Dsrcdir='.' \ -Dtests=disabled # Disable test suite: override_dh_auto_test: echo 'Test suite disabled (does not perform a build check).' # Install in debian/tmp to retain control through dh_install: override_dh_auto_install: dh_auto_install --destdir=debian/tmp # Forget no-one: override_dh_install: find debian/tmp -name '*.la' -delete dh_install override_dh_missing: dh_missing --fail-missing %: dh $@ --buildsystem=meson --builddirectory=build/ # For maintainer use only, generate a tarball: gentarball: UV=$(shell dpkg-parsechangelog|awk '/^Version:/ {print $$2}'|sed 's/-.*$$//') gentarball: git archive --format=tar upstream-unstable --prefix=$(SOURCE)-$(UV)/ | gzip -9 > ../$(SOURCE)_$(UV).orig.tar.gz