| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4 |
| 4 |
|
| 5 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 6 |
DPKG_EXPORT_BUILDFLAGS = 1 |
| 7 |
include /usr/share/dpkg/buildflags.mk |
| 8 |
|
| 9 |
NULL := |
| 10 |
|
| 11 |
DEB_CMAKE_EXTRA_FLAGS = \ |
| 12 |
-DENABLE_TESTS=ON \ |
| 13 |
-DENABLE_COVERAGE=OFF \ |
| 14 |
$(NULL) |
| 15 |
|
| 16 |
%: |
| 17 |
dh $@ |
| 18 |
|
| 19 |
override_dh_auto_configure: |
| 20 |
dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS) |
| 21 |
|
| 22 |
override_dh_install: |
| 23 |
find debian/tmp/usr/lib -name *.la -delete |
| 24 |
dh_install |
| 25 |
|
| 26 |
override_dh_installchangelogs: |
| 27 |
dh_installchangelogs NEWS |
| 28 |
|
| 29 |
override_dh_missing: |
| 30 |
dh_missing --fail-missing |
| 31 |
|
| 32 |
override_dh_auto_test: |
| 33 |
xvfb-run -a dh_auto_test --no-parallel |
| 34 |
|
| 35 |
get-orig-source: |
| 36 |
uscan --noconf --force-download --rename --download-current-version --destdir=.. |