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
|
#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
qt4_architectures := x32
ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH), $(qt4_architectures)))
qt = qt4
else
qt = qt5
endif
export QT_SELECT=$(qt)
%:
dh $@ --with systemd
override_dh_auto_configure:
dh_auto_configure -- pokerth.pro
# upstream tarball has wrong permissions
find data -type f -exec chmod 644 {} \;
override_dh_auto_install:
# Ideally we should call make install here:
# $(MAKE) install INSTALL_ROOT=$(CURDIR)/debian/tmp
# but upstreams makefile does not work as intended here
|