#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND=-DNDEBUG export DEB_CXXFLAGS_MAINT_APPEND=-DNDEBUG export DEB_LDFLAGS_MAINT_APPEND = -fPIE -pie %: dh $@ override_dh_auto_configure: dh_auto_configure -- \ -DCMAKE_INSTALL_BINDIR=/usr/games \ -DDOWNLOAD_TITLE_SEQUENCES=OFF \ -DDOWNLOAD_OBJECTS=OFF \ -DDOWNLOAD_REPLAYS=OFF \ -DDOWNLOAD_OPENSFX=OFF \ -DDOWNLOAD_OPENMSX=OFF override_dh_auto_install: dh_auto_install find ./debian -name libopenrct2.a -delete find ./debian -empty -type d -delete