debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | %: |
| 3 | dh $@ -Scmake |
| 4 | |
| 5 | override_dh_auto_configure: |
| 6 | dh_auto_configure -- -DFXDIV_BUILD_TESTS=ON -DFXDIV_BUILD_BENCHMARKS=ON -DGOOGLETEST_SOURCE_DIR=/usr/src/googletest |
| 7 | |
| 8 | execute_after_dh_auto_test: |
| 9 | find . -type f -executable -name '*bench' -exec '{}' \; |
| 10 | |
| 11 | execute_after_dh_auto_install: |
| 12 | -$(RM) -rf debian/libfxdiv-dev/usr/lib |
| 13 | -$(RM) -rf debian/libfxdiv-dev/usr/include/gmock |
| 14 | -$(RM) -rf debian/libfxdiv-dev/usr/include/gtest |