File: rules

package info (click to toggle)
qwebdavlib 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 232 kB
  • sloc: cpp: 1,356; makefile: 17
file content (30 lines) | stat: -rwxr-xr-x 949 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
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

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

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure --builddirectory=build-qt5 --buildsystem=qmake -- CONFIG+=example LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) HEADERDIR=/usr/include ..
	dh_auto_configure --builddirectory=build-qt6 --buildsystem=qmake6 -- LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) HEADERDIR=/usr/include ..

override_dh_auto_build:
	dh_auto_build --builddirectory=build-qt5 --buildsystem=qmake
	dh_auto_build --builddirectory=build-qt6 --buildsystem=qmake6

override_dh_auto_install:
	dh_auto_install --builddirectory=build-qt5
	dh_auto_install --builddirectory=build-qt6

override_dh_auto_clean:
	dh_auto_clean --builddirectory=build-qt5
	dh_auto_clean --builddirectory=build-qt6


get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..