| 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 | %: |
| 7 | dh $@ --buildsystem=cmake |
| 8 | |
| 9 | override_dh_auto_configure: |
| 10 | dh_auto_configure -- -DJSON_TestDataDirectory=/usr/share/json_test_data |
| 11 | |
| 12 | # Run tests that don't require internet during build |
| 13 | override_dh_auto_test: |
| 14 | cd obj-*/tests && ctest -LE git_required |