| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
# Sample debian/rules that uses debhelper. |
| 4 |
# This file was originally written by Joey Hess and Craig Small. |
| 5 |
# As a special exception, when this file is copied by dh-make into a |
| 6 |
# dh-make output file, you may use that output file without restriction. |
| 7 |
# This special exception was added by Craig Small in version 0.37 of dh-make. |
| 8 |
|
| 9 |
# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* |
| 10 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 11 |
export DEB_BUILD_HARDENING=1 |
| 12 |
DPKG_EXPORT_BUILDFLAGS = 1 |
| 13 |
include /usr/share/dpkg/default.mk |
| 14 |
CFLAGS+=$(HARDENING_CFLAGS) |
| 15 |
LDFLAGS+=$(HARDENING_LDFLAGS) |
| 16 |
|
| 17 |
%: |
| 18 |
V=1 dh $@ |
| 19 |
|
| 20 |
override_dh_auto_build: |
| 21 |
dh_auto_build |
| 22 |
dh_auto_build -- -C doc/man |
| 23 |
|
| 24 |
override_dh_installchangelogs: |
| 25 |
dh_installchangelogs CHANGELOG.md |