File: rules

package info (click to toggle)
webissues 1.1.5-7
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 17,108 kB
  • sloc: ansic: 97,819; cpp: 33,773; javascript: 1,171; xml: 465; sh: 378; makefile: 17
file content (23 lines) | stat: -rwxr-xr-x 396 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
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export QT_SELECT=qt5

ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
QMAKE = qmake
else
QMAKE = $(DEB_HOST_GNU_TYPE)-qmake
endif

%:
	dh $@

override_dh_auto_configure:
	./configure \
		-qmake `which $(QMAKE)` \
		-system-sqlite \
		-prefix /usr \
		-destdir $(CURDIR)/debian/tmp/ \
		-debug