1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
#!/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
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
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
override_dh_auto_configure:
dh_auto_configure -- \
-D oping=enabled \
-D runner=enabled \
-Dsrcdir='.' \
-Dtests=enabled
execute_after_dh_auto_build:
ninja -C build igt-gpu-tools-doc
# 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
execute_before_dh_install:
find debian/tmp -name '*.la' -delete
override_dh_fixperms:
dh_fixperms -X.testlist -Xtest-list.txt -Xtest-list-full.txt
override_dh_missing:
dh_missing --fail-missing
%:
dh $@ --buildsystem=meson --builddirectory=build/
|