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
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDTOOLS = 1
include /usr/share/dpkg/buildtools.mk
include /usr/share/dpkg/architecture.mk
ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
HOST := --host=$(DEB_HOST_GNU_TYPE)
else
HOST :=
endif
%:
dh $@
override_dh_auto_clean:
[ ! -f config.mk ] || dh_auto_clean
override_dh_auto_configure:
./configure $(HOST) \
--prefix=/usr \
--bindir=/usr/games \
--datadir=/usr/share/games \
--mandir=/usr/share/man \
--libdir=/usr/lib/x86_64-linux-gnu \
--enable-verbose-build
override_dh_installchangelogs:
dh_installchangelogs NEWS
|