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