Move the test into separate directory

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
Jakub Jelen 2018-11-29 15:27:02 +01:00 committed by Frank Morgner
parent f2145eca79
commit 8fb611bb1c
5 changed files with 8 additions and 5 deletions

View File

@ -15,7 +15,7 @@ EXTRA_DIST = Makefile.mak
DISTCHECK_CONFIGURE_FLAGS = --with-completiondir=/tmp
SUBDIRS = etc src win32 doc MacOSX
SUBDIRS = etc src win32 doc MacOSX tests
dist_noinst_SCRIPTS = bootstrap bootstrap.ci
dist_noinst_DATA = README \

View File

@ -1059,6 +1059,7 @@ AC_CONFIG_FILES([
doc/tools/Makefile
doc/files/Makefile
etc/Makefile
tests/Makefile
src/Makefile
src/common/Makefile
src/ui/Makefile

View File

@ -2,9 +2,6 @@ MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
EXTRA_DIST = completion-template
TESTS = test-manpage.sh
dist_noinst_SCRIPTS = test-manpage.sh
dist_noinst_DATA = $(wildcard $(srcdir)/*.xml)
if ENABLE_DOC
html_DATA = tools.html

5
tests/Makefile.am Normal file
View File

@ -0,0 +1,5 @@
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
dist_noinst_SCRIPTS = test-manpage.sh
TESTS = test-manpage.sh

View File

@ -1,5 +1,5 @@
#!/bin/bash
SOURCE_PATH=../../
SOURCE_PATH=../
# find all the manual pages in src/tools
TOOLS=`find "${SOURCE_PATH}/doc/tools" -name "*.1.xml" | sed -E -e "s|.*/([a-z0-9-]*).*|\1|"`