| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
# See debhelper(7) (uncomment to enable). |
| 4 |
# Output every command that modifies files on the build system. |
| 5 |
#export DH_VERBOSE = 1 |
| 6 |
|
| 7 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 8 |
DPKG_EXPORT_BUILDFLAGS = 1 |
| 9 |
include /usr/share/dpkg/buildflags.mk |
| 10 |
include /usr/share/dpkg/pkg-info.mk |
| 11 |
|
| 12 |
export DEB_VERSION_UPSTREAM |
| 13 |
|
| 14 |
# See ENVIRONMENT in dpkg-buildflags(1). |
| 15 |
# Package maintainers to append CFLAGS. |
| 16 |
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic |
| 17 |
# Package maintainers to append LDFLAGS. |
| 18 |
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed |
| 19 |
|
| 20 |
# The patched tests run against the installed package. |
| 21 |
ifeq (,$(filter check,$(DEB_BUILD_OPTIONS))) |
| 22 |
override_dh_auto_test: ; |
| 23 |
endif |
| 24 |
|
| 25 |
%: |
| 26 |
dh $@ |
| 27 |
|
| 28 |
|
| 29 |
# This is an example for Cmake (see <https://bugs.debian.org/641051>). |
| 30 |
#override_dh_auto_configure: |
| 31 |
# dh_auto_configure -- \ |
| 32 |
# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) |