| 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 |
export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow |
| 13 |
|
| 14 |
%: |
| 15 |
dh $@ |
| 16 |
|
| 17 |
.PHONY: override_dh_autoreconf |
| 18 |
override_dh_autoreconf: |
| 19 |
dh_autoreconf ./bootstrap |
| 20 |
|
| 21 |
.PHONY: override_dh_auto_configure |
| 22 |
override_dh_auto_configure: |
| 23 |
dh_auto_configure -- --disable-debug --disable-update-database \ |
| 24 |
--enable-official-khronos-headers |
| 25 |
|
| 26 |
.PHONY: override_dh_auto_test |
| 27 |
override_dh_auto_test: |
| 28 |
if ! dh_auto_test ; then \ |
| 29 |
cat tests/testsuite.log ; \ |
| 30 |
exit 1 ;\ |
| 31 |
fi |
| 32 |
|
| 33 |
.PHONY: override_dh_shlibdeps |
| 34 |
override_dh_shlibdeps: |
| 35 |
dh_shlibdeps -a -- --warnings=7 |
| 36 |
|
| 37 |
.PHONY: override_dh_missing |
| 38 |
override_dh_missing: |
| 39 |
dh_missing --fail-missing -XlibOpenCL.la |
| 40 |
|
| 41 |
.PHONY: override_dh_installchangelogs |
| 42 |
override_dh_installchangelogs: |
| 43 |
dh_installchangelogs NEWS |