#!/usr/bin/make -f include /usr/share/dpkg/pkg-info.mk # Don't build the documentation when not building arch:all packages ifeq (,$(filter libwayland-doc,$(shell dh_listpackages))) configure_flags += -Ddocumentation=false endif override_dh_auto_configure: dh_auto_configure -- $(configure_flags) override_dh_auto_test: # sanity-test fails on hppa ifeq ($(DEB_HOST_ARCH),hppa) dh_auto_test || true else dh_auto_test endif %: dh $@ --with quilt --builddirectory=build/ --buildsystem=meson # For maintainer use only, generate a tarball: gentarball: git archive --format=tar upstream-experimental --prefix=$(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM)/ | gzip -9 > ../$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM).orig.tar.gz