File: rules

package info (click to toggle)
jreen 1.2.0-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,236 kB
  • sloc: cpp: 32,418; ansic: 6,672; makefile: 17
file content (26 lines) | stat: -rwxr-xr-x 627 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
26
#!/usr/bin/make -f

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
QT5_PATH = build/qt5/so

%:
	dh $@ --parallel

override_dh_auto_configure:
	mkdir -p $(QT5_PATH)
	QT_SELECT=qt5 dh_auto_configure -B$(QT5_PATH) -- -DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH) -DJREEN_USE_SYSTEM_JDNS=ON -DQJDNS_SUFFIX=-qt5

override_dh_auto_build:
	QT_SELECT=qt5 dh_auto_build -B$(QT5_PATH)

override_dh_auto_clean:
	dh_auto_clean -B$(QT5_PATH)

override_dh_auto_install:
	dh_auto_install -B$(QT5_PATH)

override_dh_strip:
	dh_strip -plibjreen-qt5-1 --dbg-package=libjreen-qt5-dbg

override_dh_install:
	dh_install --list-missing