debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_VERBOSE = 1 |
| 4 | |
| 5 | export DEB_BUILD_MAINT_OPTIONS=hardening=+all,optimize=-lto |
| 6 | |
| 7 | # Fixing reproducible builds |
| 8 | LC_ALL := C.UTF-8 |
| 9 | export LC_ALL |
| 10 | |
| 11 | %: |
| 12 | dh $@ |
| 13 | |
| 14 | override_dh_auto_configure: |
| 15 | dh_auto_configure -- -DBUILD_SHARED_LIBS=ON -DENABLE_TESTING=ON -DCIFPP_DOWNLOAD_CCD=OFF -DBUILD_DOCUMENTATION=ON |
| 16 | |
| 17 | override_dh_auto_build: |
| 18 | export http_proxy=127.0.0.1:9 |
| 19 | export https_proxy=127.0.0.1:9 |
| 20 | dh_auto_build |