From aaa1276ee31ca872190cd097c7b4d845996fed39 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 30 Oct 1999 06:56:10 +0000 Subject: Update. * manual/math.texi (Errors in Math Functions): New section. * math/libm-err-tab.pl: Moved to... * manual/libm-err-tab.pl: ...here. * manual/Makefile: Add rules for math function error table generation. --- manual/Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'manual/Makefile') diff --git a/manual/Makefile b/manual/Makefile index 3c6640e..4b88543 100644 --- a/manual/Makefile +++ b/manual/Makefile @@ -69,7 +69,7 @@ examples = $(filter-out $(foreach d, $(add-ons), ../$d/%.c.texi), \ chapters.% top-menu.%: libc-texinfo.sh $(texis) AWK=$(AWK) $(SHELL) $< '$(chapters)' '$(add-chapters)' '$(appendices)' -libc.dvi libc.info: chapters.texi top-menu.texi +libc.dvi libc.info: chapters.texi top-menu.texi libm-err.texi libc.dvi: texinfo.tex # Generate the summary from the Texinfo source files for each chapter. @@ -89,6 +89,15 @@ dir-add.info: xtract-typefun.awk $(texis) echo "END-INFO-DIR-ENTRY") > $@.new mv -f $@.new $@ +# The table with the math errors is generated. +libm-err.texi: stamp-libm-err +stamp-libm-err: libm-err-tab.pl $(wildcard $(foreach dir,$(sysdirs),\ + $(dir)/libm-test-ulps)) + pwd=`pwd`; \ + $(PERL) $< $$pwd/.. > libm-err-tmp + $(move-if-change) libm-err-tmp libm-err.texi + touch $@ + # Generate Texinfo files from the C source for the example programs. %.c.texi: examples/%.c sed -e 's,[{}],@&,g' \ @@ -106,13 +115,14 @@ dir-add.info: xtract-typefun.awk $(texis) # Distribution. minimal-dist = summary.awk texis.awk tsort.awk libc-texinfo.sh libc.texinfo \ + libm-err.texi stamp-libm-err \ $(filter-out summary.texi, $(nonexamples)) \ $(patsubst %.c.texi,examples/%.c, $(examples)) doc-only-dist = Makefile COPYING.LIB distribute = $(minimal-dist) $(examples) stdio-fp.c \ libc.info* libc.?? libc.??s texinfo.tex \ - xtract-typefun.awk dir-add.info dir + xtract-typefun.awk dir-add.info dir libm-err-tab.pl export distribute := $(distribute) tar-it = tar chovf $@ $^ -- cgit v1.1