From 0dc8e6c031e0c086c8d9d2b2955de4ba7fe2dd13 Mon Sep 17 00:00:00 2001 From: Ossama Othman Date: Tue, 11 Feb 2003 23:43:03 +0000 Subject: ChangeLogTag:Tue Feb 11 15:41:12 2003 Ossama Othman --- ChangeLog | 10 ++++++++++ ChangeLogs/ChangeLog-03a | 10 ++++++++++ tests/Makefile.am | 16 ++++++++++------ 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 33851b8d360..5ac67b01516 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +Tue Feb 11 14:27:08 2003 Ossama Othman + + * tests/Makefile.am (all-local): + + Added rules to generate links to the scripts and data files in + the top-level `tests' source directory. The Scoreboard requires + that `run_test.pl' exists in the current working directory, and + some tests require that their corresponding data files exist in + that directory, too. Thanks to Steve for pointing this out. + Mon Feb 10 14:42:59 2003 Ossama Othman * configure.ac: diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a index 33851b8d360..5ac67b01516 100644 --- a/ChangeLogs/ChangeLog-03a +++ b/ChangeLogs/ChangeLog-03a @@ -1,3 +1,13 @@ +Tue Feb 11 14:27:08 2003 Ossama Othman + + * tests/Makefile.am (all-local): + + Added rules to generate links to the scripts and data files in + the top-level `tests' source directory. The Scoreboard requires + that `run_test.pl' exists in the current working directory, and + some tests require that their corresponding data files exist in + that directory, too. Thanks to Steve for pointing this out. + Mon Feb 10 14:42:59 2003 Ossama Othman * configure.ac: diff --git a/tests/Makefile.am b/tests/Makefile.am index a557f213dbd..0f6512f082c 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -455,18 +455,22 @@ EXTRA_DIST = $(noinst_SCRIPTS) $(noinst_DATA) ## $(tmp)/ace_test_file \ ## $(tmp)/Naming_Test* -## Run local targets -## all-local: log_dir +## Automake recognized target. Appends these rules to the "all" +## target. +all-local: bin + @for p in $(noinst_SCRIPTS) $(noinst_DATA); do \ + test -f $$p \ + || $(LN_S) $(top_srcdir)/tests/$$p $$p; done -## Create tests `log' directory -## log_dir: -## if test -d log; then : else mkdir log; fi +bin: + @$(LN_S) $(top_srcdir)/bin $@ ## Clean up template repositories, etc. clean-local: -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations -## Clean up `log' directory , etc. +## Clean up files and directories created by this Makefile. distclean-local: + -rm -f bin $(noinst_SCRIPTS) $(noinst_DATA) -rm -rf log -- cgit v1.2.1