File: rules

package info (click to toggle)
libdbusmenu-qt 0.9.3+16.04.20160218-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 420 kB
  • ctags: 266
  • sloc: cpp: 2,560; xml: 306; makefile: 20
file content (34 lines) | stat: -rwxr-xr-x 1,002 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
30
31
32
33
34
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@ --parallel --buildsystem=cmake

override_dh_auto_configure:
	QT_SELECT=qt4 dh_auto_configure -- -DUSE_QT4=True
	QT_SELECT=qt5 dh_auto_configure --builddirectory=build-qt5 -- -DUSE_QT5=True

override_dh_auto_build:
	dh_auto_build
	dh_auto_build --builddirectory=build-qt5

override_dh_auto_install:
	dh_auto_install
	# Removing embedded jquery javascript library
	rm debian/tmp/usr/share/doc/libdbusmenu-qt-doc/jquery.js
	dh_auto_install --builddirectory=build-qt5
	# Removing embedded jquery javascript library
	rm debian/tmp/usr/share/doc/libdbusmenu-qt5-doc/jquery.js

override_dh_install:
	dh_install --fail-missing

override_dh_strip:
	dh_strip -plibdbusmenu-qt5-2 --dbgsym-migration='libdbusmenu-qt5-dbg (<< 0.9.3+16.04.20160218)'
	dh_strip --remaining-packages --dbgsym-migration='libdbusmenu-qt-dbg (<< 0.9.3+16.04.20160218)'

override_dh_auto_test:
	# Skipping tests (can't test inside chroot)...
	: