| 1 | #!/usr/bin/make -f |
| 2 | # See debhelper(7) (uncomment to enable) |
| 3 | # output every command that modifies files on the build system. |
| 4 | #export DH_VERBOSE = 1 |
| 5 | |
| 6 | export PYBUILD_NAME=awscrt |
| 7 | export VERBOSE=1 |
| 8 | export AWS_CRT_BUILD_USE_SYSTEM_LIBCRYPTO=1 |
| 9 | |
| 10 | include /usr/share/dpkg/architecture.mk |
| 11 | DPKG_EXPORT_BUILDFLAGS = 1 |
| 12 | include /usr/share/dpkg/buildflags.mk |
| 13 | CFLAGS+=$(CPPFLAGS) |
| 14 | |
| 15 | %: |
| 16 | @echo blhc: ignore-line-regexp: .*\\s-c\\s\\S+.S$ |
| 17 | dh $@ --with python3 --buildsystem=pybuild |
| 18 | |
| 19 | override_dh_auto_test: |
| 20 | |
| 21 | # If you need to rebuild the Sphinx documentation |
| 22 | # Add sphinxdoc to the dh --with line |
| 23 | # |
| 24 | # And uncomment the following lines |
| 25 | #override_dh_auto_build: export http_proxy=127.0.0.1:9 |
| 26 | #override_dh_auto_build: export https_proxy=127.0.0.1:9 |
| 27 | #override_dh_auto_build: |
| 28 | # dh_auto_build |
| 29 | # PYTHONPATH=. python3 -m sphinx -N -bhtml \ |
| 30 | # docs/ build/html # HTML generator |
| 31 | # PYTHONPATH=. python3 -m sphinx -N -bman \ |
| 32 | # docs/ build/man # Manpage generator |