File: rules

package info (click to toggle)
sleepyhead 1.0.0-beta-2+dfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 14,732 kB
  • sloc: cpp: 41,894; python: 1,459; xml: 154; sh: 49; makefile: 12
file content (28 lines) | stat: -rwxr-xr-x 739 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
#!/usr/bin/make -f

#export DH_VERBOSE = 1

# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Needed for selecting qmake-qt5
export QT_SELECT = qt5

MY_BUILDDIR = _build/

%:
	dh $@ --buildsystem=qmake --builddirectory=$(MY_BUILDDIR)

# Override dh_auto_configure in order to call qmake on the parent dir.
# We call mkdir here because of #800738.
override_dh_auto_configure:
	@mkdir -p $(MY_BUILDDIR)
	dh_auto_configure -- ..

# Upstream ships with a 'history' directory containing ancient code.
# We are not interested in installing this.
override_dh_installchangelogs:
	dh_installchangelogs --exclude=history