From bf5806397a961cc462f43e7ecfcbd7db20f5bd55 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 17 Apr 1997 23:22:47 +0000 Subject: [PATCH] (dir-add.texi): Simplify. --- manual/Makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/manual/Makefile b/manual/Makefile index 0e8ae85dc70..c99f4974a82 100644 --- a/manual/Makefile +++ b/manual/Makefile @@ -66,13 +66,9 @@ stamp-summary: summary.awk $(chapters) $(chapters-incl) # Generate a file which can be added to the `dir' content to provide direct # access to the documentation of the function, variables, and other # definitions. -dir-add.texi: manual/xtract-typefun.awk $(chapters-incl) - if test -n "$(chapters-incl)"; then \ - (for i in $(chapters-incl); do \ - $(GAWK) -f $< < $i; \ - done) | sort > $@.new; \ - ./move-if-change $@.new $@; \ - fi +dir-add.texi: xtract-typefun.awk $(chapters) + $(GAWK) -f $^ | sort > $@.new; + mv -f $@.new $@ # Generate Texinfo files from the C source for the example programs. %.c.texi: examples/%.c -- 2.47.2