File: rules

package info (click to toggle)
libqaccessibilityclient 0.6.0-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 632 kB
  • sloc: cpp: 3,632; makefile: 20; sh: 7
file content (34 lines) | stat: -rwxr-xr-x 773 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
# -*- makefile -*-

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

# hide private (not exported) symbols
export DEB_CXXFLAGS_MAINT_APPEND = -fvisibility=hidden -fvisibility-inlines-hidden

%:
	dh $@

execute_after_dh_auto_clean:
	rm -rf build-qt6

override_dh_auto_configure:
	dh_auto_configure -- \
	    -DCMAKE_BUILD_TYPE=RelWithDebInfo \
	    -DBUILD_TESTING=OFF
	dh_auto_configure --builddirectory=build-qt6 -- \
	    -DCMAKE_BUILD_TYPE=RelWithDebInfo \
	    -DBUILD_TESTING=OFF \
	    -DBUILD_WITH_QT6=ON

override_dh_auto_build:
	dh_auto_build
	dh_auto_build --builddirectory=build-qt6

override_dh_auto_install:
	dh_auto_install
	dh_auto_install --builddirectory=build-qt6

# requires D-Bus & AT-SPI
.PHONY: override_dh_auto_test