File: rules

package info (click to toggle)
tagua 1.0~alpha2-16-g618c6a0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 8,000 kB
  • sloc: cpp: 26,141; ansic: 13,039; makefile: 183; ruby: 88; sh: 39
file content (23 lines) | stat: -rwxr-xr-x 488 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
# -*- makefile -*-

export DH_VERBOSE=1

QT5HOSTBIN := $(shell pkg-config --print-errors --variable=host_bins Qt5Core)

%:
	dh $@ --parallel

override_dh_auto_configure:
	dh_auto_configure -- \
		-DSYSTEM_LUA=yes \
		-DCMAKE_SKIP_RPATH:BOOL=YES \
		-DCMAKE_INSTALL_PREFIX:PATH=/usr \
		-DQT_QMAKE_EXECUTABLE:FILEPATH=$(QT5HOSTBIN)/qmake

override_dh_auto_install:
	dh_auto_install
	cd debian/tmp && mv usr/bin usr/games

override_dh_install:
	dh_install --fail-missing