# autogenerated test scripts list and tests-parser.txt list
include $(srcdir)/Makefile.onetst

$(srcdir)/Makefile.onetst: \
  ../../maintain/regenerate_cmd_tests.sh $(test_driving_files_generated_list) 
	cd $(srcdir) \
	&& $(SHELL) ../../maintain/regenerate_cmd_tests.sh "$@" htmlxref-only_mono \
	  -base .

TESTS = $(one_test_files_generated_list)
AM_TESTS_ENVIRONMENT = srcdir="$(srcdir)"; export srcdir; top_srcdir="$(top_srcdir)"; export top_srcdir; builddir="$(builddir)"; export buildir; top_builddir="$(top_builddir)"; export top_builddir;

copy-tests:
	$(srcdir)/../run_parser_all.sh -copy

EXTRA_DIST = htmlxref.cnf-ref res_parser \
 $(one_test_files_generated_list) $(test_driving_files_generated_list)

DISTCLEANFILES = tests.log tests.out htmlxref.cnf

distclean-local:
	rm -rf out_parser diffs test_log

dist-hook:
	rm -rf `find $(distdir)/res_parser -name .svn`
