| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
|
| 4 |
# Uncomment for debhelper verbose output. |
| 5 |
# export DH_VERBOSE=1 |
| 6 |
|
| 7 |
export SKIP_PYTHON_TESTS=1 |
| 8 |
|
| 9 |
%: |
| 10 |
dh $@ --buildsystem=autoconf --with=autoreconf,python3 |
| 11 |
|
| 12 |
.PHONY: override_dh_auto_configure |
| 13 |
override_dh_auto_configure: |
| 14 |
dh_auto_configure -- --enable-python CFLAGS="-g" |
| 15 |
|
| 16 |
.PHONY: override_dh_install |
| 17 |
override_dh_install: |
| 18 |
dh_install --fail-missing -X.la -X/pyfsfat.a |
| 19 |
|
| 20 |
.PHONY: override_dh_missing |
| 21 |
override_dh_missing: |
| 22 |
dh_missing -X.la -X/pyfsfat.a --fail-missing |
| 23 |
|
| 24 |
.PHONY: override_dh_strip |
| 25 |
override_dh_strip: |
| 26 |
ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS))) |
| 27 |
dh_strip -plibfsfat --dbg-package=libfsfat-dbg |
| 28 |
dh_strip -plibfsfat-tools --dbg-package=libfsfat-tools-dbg |
| 29 |
dh_strip -plibfsfat-python3 --dbg-package=libfsfat-python3-dbg |
| 30 |
endif |
| 31 |
|