File: rules

package info (click to toggle)
polkit-qt-1 0.112.0-6
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 868 kB
  • sloc: cpp: 3,392; makefile: 18; ansic: 11; xml: 9; sh: 8
file content (32 lines) | stat: -rwxr-xr-x 869 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
24
25
26
27
28
29
30
31
32
#!/usr/bin/make -f

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

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

dh = --list-missing

include /usr/share/pkg-kde-tools/qt-kde-team/2/debian-qt-kde.mk

export CFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
export CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden

override_dh_auto_clean:
	$(overridden_command)
	rm -rf build-qt5

override_dh_auto_configure:
	$(overridden_command) -- -DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) -DUSE_QT4=True
	$(overridden_command) --builddirectory=build-qt5 -- -DUSE_QT5=True

override_dh_auto_build:
	$(overridden_command)
	$(overridden_command) --builddirectory=build-qt5

override_dh_auto_test:
	# Skip dh_auto_test

override_dh_auto_install:
	$(overridden_command)
	$(overridden_command) --builddirectory=build-qt5