* tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,

to make sure they are up to date when `check' is run.
This commit is contained in:
Akim Demaille 2002-02-05 08:28:08 +00:00
parent ee1dba18e4
commit 7411fbed13
3 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2002-02-05 Akim Demaille <akim@epita.fr>
* tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
to make sure they are up to date when `check' is run.
2002-02-05 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Making testsuite Scripts): Document

View File

@ -24,9 +24,10 @@ EXTRA_DIST = $(TESTSUITE_AT) atspecific.m4 mktests.sh \
atlocal.in package.m4
# Running the uninstalled scripts.
WRAPPERS = autoconf autoheader autoreconf autom4te autoscan autoupdate ifnames
check_SCRIPTS = autoconf autoheader autoreconf autom4te autoscan autoupdate ifnames
DISTCLEANFILES = atconfig atlocal $(TESTSUITE) $(WRAPPERS)
# FIXME: Why doesn't Automake clean these?
DISTCLEANFILES = atconfig atlocal $(TESTSUITE) $(check_SCRIPTS)
## ------------ ##
## package.m4. ##

View File

@ -86,9 +86,10 @@ EXTRA_DIST = $(TESTSUITE_AT) atspecific.m4 mktests.sh \
# Running the uninstalled scripts.
WRAPPERS = autoconf autoheader autoreconf autom4te autoscan autoupdate ifnames
check_SCRIPTS = autoconf autoheader autoreconf autom4te autoscan autoupdate ifnames
DISTCLEANFILES = atconfig atlocal $(TESTSUITE) $(WRAPPERS)
# FIXME: Why doesn't Automake clean these?
DISTCLEANFILES = atconfig atlocal $(TESTSUITE) $(check_SCRIPTS)
TESTSUITE_GENERATED_AT = \
aclang.at acc.at acfortran.at \
@ -197,6 +198,7 @@ distdir: $(DISTFILES)
fi; \
done
check-am: all-am
$(MAKE) $(AM_MAKEFLAGS) $(check_SCRIPTS)
$(MAKE) $(AM_MAKEFLAGS) check-local
check: check-am
all-am: Makefile