This commit is contained in:
Jim Meyering 2004-05-31 12:11:49 +00:00
parent 00731dd01d
commit bc8843e1ca

View File

@ -29,14 +29,16 @@ out-delim6.O out-delim6.E
EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen)
noinst_SCRIPTS = $x-tests
TESTS_ENVIRONMENT = \
PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH"
editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,$(srcdir),g'
TESTS = $x-tests
mk_script = $(srcdir)/../mk-script
$(srcdir)/$x-tests: $(mk_script) Test.pm
$(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) ../../src/$x > $@.n
$(srcdir)/$x-tests: $(mk_script) Test.pm Makefile.am
$(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) $x > $@.n
mv $@.n $@
chmod 755 $@