diff options
author | Andrei Pavel <andrei@isc.org> | 2021-07-29 17:47:40 +0200 |
---|---|---|
committer | Andrei Pavel <andrei@isc.org> | 2021-07-29 17:47:40 +0200 |
commit | 91982f875a45301daf7af946fe46d56c511ee9f7 (patch) | |
tree | c8eb92ab1b4a42039ff65ac5b95dac0aaf0ac3ae /src/share/yang | |
parent | [#1999] add missing sysrepo compilation flags (diff) | |
download | kea-91982f875a45301daf7af946fe46d56c511ee9f7.tar.xz kea-91982f875a45301daf7af946fe46d56c511ee9f7.zip |
[#2004] include check-hashes.sh in tarball
add also run check-revisions.sh on "make clean"
Diffstat (limited to 'src/share/yang')
-rw-r--r-- | src/share/yang/modules/Makefile.am | 4 | ||||
-rw-r--r-- | src/share/yang/modules/utils/Makefile.am | 20 |
2 files changed, 19 insertions, 5 deletions
diff --git a/src/share/yang/modules/Makefile.am b/src/share/yang/modules/Makefile.am index 6c144dfc2d..c2be6c755c 100644 --- a/src/share/yang/modules/Makefile.am +++ b/src/share/yang/modules/Makefile.am @@ -2,7 +2,9 @@ SUBDIRS = utils yangmodulesdir = ${datarootdir}/${PACKAGE_NAME}/yang/modules -yangmodules_list = ietf-dhcpv6-client@2018-09-04.yang +yangmodules_list = +yangmodules_list += hashes +yangmodules_list += ietf-dhcpv6-client@2018-09-04.yang yangmodules_list += ietf-interfaces@2018-02-20.yang yangmodules_list += ietf-dhcpv6-options@2018-09-04.yang yangmodules_list += ietf-dhcpv6-relay@2018-09-04.yang diff --git a/src/share/yang/modules/utils/Makefile.am b/src/share/yang/modules/utils/Makefile.am index bfe79273dd..53d050bdf0 100644 --- a/src/share/yang/modules/utils/Makefile.am +++ b/src/share/yang/modules/utils/Makefile.am @@ -1,9 +1,24 @@ SUBDIRS = . +yangdir = ${datarootdir}/${PACKAGE_NAME}/yang/modules/utils + +yang_list = +yang_list += check-hashes.sh +yang_list += check-revisions.sh +yang_list += reinstall.sh + +EXTRA_DIST = ${yang_list} + if HAVE_SYSREPO +# Add to the tarball. +yang_DATA = ${yang_list} +yang_SCRIPTS = ${yang_list} + # Shell tests -SHTESTS = check-hashes.sh +SHTESTS = +SHTESTS += check-hashes.sh +SHTESTS += check-revisions.sh # Run shell tests on "make check". check_SCRIPTS = $(SHTESTS) @@ -12,7 +27,4 @@ TESTS = $(SHTESTS) # Don't install tests. noinst_SCRIPTS = $(SHTESTS) -# Add to the tarball: -EXTRA_DIST = $(SHTESTS) - endif |