File: rules

package info (click to toggle)
dtkwidget 5.7.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 36,540 kB
  • sloc: cpp: 63,257; ansic: 132; python: 88; sh: 42; makefile: 13
file content (29 lines) | stat: -rwxr-xr-x 606 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
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export QT_SELECT := 5

# Explicitly enable hardening
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

# Retrieve version info
include /usr/share/dpkg/default.mk



%:
	dh $@

# TODO: enable doc build (qch)
override_dh_auto_configure:
	dh_auto_configure -- \
            -DBUILD_PLUGINS=OFF \
            -DBUILD_DOCS=OFF \
            -DDTK_VERSION=$(DEB_VERSION_UPSTREAM) \
            $(NULL)