Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Uncomment this to turn on verbose mode.
4 # export DH_VERBOSE=1
5
6 # see FEATURE AREAS in dpkg-buildflags(1)
7 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
8
9 export QT_SELECT := 5
10
11 # Explicitly enable hardening
12 DPKG_EXPORT_BUILDFLAGS = 1
13 include /usr/share/dpkg/buildflags.mk
14
15 include /usr/share/dpkg/architecture.mk
16
17 # Retrieve version info
18 include /usr/share/dpkg/default.mk
19
20
21 %:
22 dh $@
23
24 # FIXME: Enable doc building
25 override_dh_auto_configure:
26 dh_auto_configure -- \
27 -DBUILD_TESTING=OFF \
28 -DBUILD_DOCS=OFF \
29 -DDTK_DISABLE_LIBXDG=OFF \
30 -DDTK_VERSION=$(DEB_VERSION_UPSTREAM) \
31 $(NULL)