| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 |
|
| 5 |
DPKG_EXPORT_BUILDTOOLS=1 |
| 6 |
include /usr/share/dpkg/buildtools.mk |
| 7 |
|
| 8 |
%: |
| 9 |
dh $@ |
| 10 |
|
| 11 |
override_dh_auto_configure: |
| 12 |
dh_auto_configure -- --enable-json --no-download |
| 13 |
|
| 14 |
override_dh_auto_clean: |
| 15 |
# Makefile includes Makefile.config, which is generated by ./configure |
| 16 |
[ -f Makefile.config ] && dh_auto_clean || true |
| 17 |
# do the equivalent of a "distclean" to return to a pristine source tree |
| 18 |
rm -f Makefile.config config.h config.log config.log.old config.cache |
| 19 |
|
| 20 |
override_dh_auto_test: |