debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | # -*- makefile -*- |
| 3 | |
| 4 | # Uncomment this to turn on verbose mode. |
| 5 | #export DH_VERBOSE=1 |
| 6 | |
| 7 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 8 | export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed |
| 9 | |
| 10 | %: |
| 11 | dh $@ --with python3 --buildsystem=autoconf |
| 12 | |
| 13 | override_dh_auto_configure: |
| 14 | dh_auto_configure -- --enable-python |
| 15 | |
| 16 | override_dh_missing: |
| 17 | dh_missing -X.la -X/pyfshfs.a --fail-missing |
| 18 | |
| 19 | override_dh_install: |
| 20 | dh_install -X.la -X/pyfshfs.a |
| 21 |