PavolVican | 384786e | 2017-07-12 15:31:20 +0200 | [diff] [blame] | 1 | #!/usr/bin/make -f |
| 2 | # -*- makefile -*- |
| 3 | # Uncomment this to turn on verbose mode. |
| 4 | export DH_VERBOSE=1 |
| 5 | |
| 6 | %: |
| 7 | dh $@ |
| 8 | |
| 9 | override_dh_strip: |
PavolVican | b8b7acb | 2018-02-27 18:33:25 +0100 | [diff] [blame] | 10 | dh_strip -p@PACKAGE_NAME@ --dbg-package=@PACKAGE_NAME@-dbg |
| 11 | dh_strip -ppython3-netconf2@COMPAT_PACKAGES@ --dbg-package=python3-netconf2@COMPAT_PACKAGES@-dbg |
PavolVican | 384786e | 2017-07-12 15:31:20 +0200 | [diff] [blame] | 12 | |
| 13 | override_dh_auto_configure: |
PavolVican | b8b7acb | 2018-02-27 18:33:25 +0100 | [diff] [blame] | 14 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DENABLE_PYTHON=ON -DCMAKE_BUILD_TYPE:String="@BUILD_TYPE@" . |
PavolVican | 384786e | 2017-07-12 15:31:20 +0200 | [diff] [blame] | 15 | |
| 16 | override_dh_auto_test: |
| 17 | ctest --output-on-failure |