aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile.in')
-rw-r--r--test/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index b987b1c2..5b34a5ad 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -536,6 +536,7 @@ EXTRA_DIST = \
fieldwdth.ok \
filefuncs.awk \
filefuncs.ok \
+ fix-fmtspcl.awk \
fldchg.awk \
fldchg.in \
fldchg.ok \
@@ -2132,8 +2133,8 @@ nors::
@echo A B C D E | tr -d '\12\15' | $(AWK) '{ print $$NF }' - "$(srcdir)"/nors.in > _$@ || echo EXIT CODE: $$? >> _$@
@-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
-fmtspcl.ok: fmtspcl.tok Makefile
- @$(AWK) -v "sd=$(srcdir)" 'BEGIN {pnan = sprintf("%g",sqrt(-1)); nnan = sprintf("%g",-sqrt(-1)); pinf = sprintf("%g",-log(0)); ninf = sprintf("%g",log(0))} {sub(/positive_nan/,pnan); sub(/negative_nan/,nnan); sub(/positive_infinity/,pinf); sub(/negative_infinity/,ninf); sub(/fmtspcl/,(sd"/fmtspcl")); print}' < "$(srcdir)"/fmtspcl.tok > $@ 2>/dev/null
+fmtspcl.ok: fmtspcl.tok Makefile fix-fmtspcl.awk
+ @$(AWK) -v "sd=$(srcdir)" -f "$(srcdir)/fix-fmtspcl.awk" < "$(srcdir)"/fmtspcl.tok > $@ 2>/dev/null
fmtspcl: fmtspcl.ok
@echo $@