| 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 |
# Uncomment this to turn on verbose mode. |
| 10 |
#export DH_VERBOSE=1 |
| 11 |
|
| 12 |
# Enable hardening build flags |
| 13 |
export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 14 |
|
| 15 |
%: |
| 16 |
dh $@ |
| 17 |
|
| 18 |
override_dh_auto_clean: |
| 19 |
-rm config.log |
| 20 |
dh_auto_clean |
| 21 |
|
| 22 |
override_dh_auto_configure: |
| 23 |
dh_auto_configure -- --enable-server |
| 24 |
|
| 25 |
override_dh_auto_test: |
| 26 |
dh_auto_test --no-parallel |
| 27 |
|
| 28 |
override_dh_auto_install: |
| 29 |
dh_auto_install |
| 30 |
|
| 31 |
$(RM) debian/tmp/etc/*.cfg |
| 32 |
$(RM) debian/tmp/usr/share/man/man*/*.* |