#!/usr/bin/make -f include /usr/share/dpkg/pkg-info.mk export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ \ --sourcedirectory=prboom2 \ --with bash_completion override_dh_auto_configure: ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_configure --reload-all-buildenv-variables -Bbuild-native dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_build -Bbuild-native endif dh_auto_configure -- \ -DCMAKE_INSTALL_BINDIR=games \ -DDSDAPWADDIR=/usr/share/dsda-doom \ $(if $(filter $(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)),,-DIMPORT_EXECUTABLES=../build-native/ImportExecutables.cmake) override_dh_installchangelogs: dh_installchangelogs -- patch_notes/v$(basename $(DEB_VERSION_UPSTREAM))* override_dh_gencontrol: dh_gencontrol -pprboom-plus -- -v3:$(DEB_VERSION_UPSTREAM_REVISION) dh_gencontrol -pprboom-plus-game-server -- -v3:$(DEB_VERSION_UPSTREAM_REVISION) dh_gencontrol --remaining-packages execute_after_dh_install: rm -f debian/dsda-doom/usr/share/doc/dsda-doom/COPYING*