File: rules

package info (click to toggle)
telepathy-qt 0.9.7-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 13,000 kB
  • sloc: cpp: 74,497; xml: 34,294; ansic: 20,741; python: 3,983; sh: 118; makefile: 18
file content (29 lines) | stat: -rwxr-xr-x 700 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
27
28
29
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

CMAKE_OPTS := -DDISABLE_WERROR=ON -DHAVE_DOT=YES \
              -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" \
              -DCMAKE_BUILD_TYPE=RelWithDebInfo \
              -DDESIRED_QT_VERSION=5 \
	      -DFORCE_STATIC_SERVICE_LIBRARY=YES


%:
	dh $@ --with pkgkde_symbolshelper

override_dh_auto_configure:
	dh_auto_configure -- $(CMAKE_OPTS)

# Do not run tests, as they fall into race conditions sometimes
override_dh_auto_test:

override_dh_strip:
	dh_strip --dbgsym-migration='libtelepathy-qt5-dbg (<< 0.9.7~)'

override_dh_missing:
	dh_missing --fail-missing

override_dh_auto_clean:
	dh_auto_clean
	find . -name '*.pyc' -exec rm {} \;