File: rules

package info (click to toggle)
libjdns 2.0.3-1.1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 528 kB
  • sloc: ansic: 6,747; cpp: 2,915; makefile: 17
file content (25 lines) | stat: -rwxr-xr-x 618 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

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

%:
	dh $@ --parallel

override_dh_auto_configure:
	mkdir -p $(QT5_PATH)
	dh_auto_configure -B$(QT5_PATH) -- -DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH) -DMULTI_QT=ON

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 -pjdns --dbg-package=jdns-dbg
	dh_strip -plibjdns2 --dbg-package=libjdns-dbg
	dh_strip -plibqjdns-qt5-2 --dbg-package=libqjdns-qt5-dbg