blob: 35ad13495a1b492e8e014ba150bc6fb4b6cab96b [file] [log] [blame]
PavolVican8fbbbdc2017-03-25 00:55:44 +01001#!/usr/bin/make -f
2# -*- makefile -*-
3# Uncomment this to turn on verbose mode.
4export DH_VERBOSE=1
PavolVican8fbbbdc2017-03-25 00:55:44 +01005
PavolVican80f962b2017-05-29 16:40:16 +02006%:
7 dh $@
PavolVican8fbbbdc2017-03-25 00:55:44 +01008
PavolVican80f962b2017-05-29 16:40:16 +02009override_dh_strip:
PavolVican8738eee2018-02-27 01:47:02 +010010 dh_strip -plibyang@PACKAGE_PART_NAME@ --dbg-package=libyang@PACKAGE_PART_NAME@-dbg
11 dh_strip -plibyang-cpp@PACKAGE_PART_NAME@ --dbg-package=libyang-cpp@PACKAGE_PART_NAME@-dbg
12 dh_strip -ppython3-yang@PACKAGE_PART_NAME@ --dbg-package=python3-yang@PACKAGE_PART_NAME@-dbg
PavolVican8fbbbdc2017-03-25 00:55:44 +010013
PavolVican80f962b2017-05-29 16:40:16 +020014override_dh_auto_configure:
Michal Vaskoef4eb9f2018-10-23 09:50:00 +020015 cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE:String="@BUILD_TYPE@" -DGEN_LANGUAGE_BINDINGS=ON ..
PavolVican8fbbbdc2017-03-25 00:55:44 +010016
PavolVican80f962b2017-05-29 16:40:16 +020017override_dh_auto_test:
Michal Vaskoef4eb9f2018-10-23 09:50:00 +020018 ctest --output-on-failure