File: rules

package info (click to toggle)
pokerth 1.1.1-7
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 57,172 kB
  • ctags: 32,378
  • sloc: ansic: 83,615; cpp: 60,598; java: 3,135; xml: 596; sh: 221; makefile: 14
file content (25 lines) | stat: -rwxr-xr-x 596 bytes parent folder | download
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