summaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-04-17 23:22:47 +0000
committerUlrich Drepper <drepper@redhat.com>1997-04-17 23:22:47 +0000
commitbf5806397a961cc462f43e7ecfcbd7db20f5bd55 (patch)
treec2e372c44309f6e1f619d9ff7ca3358c8bf916d2 /manual
parentbf094836d816d325bfddfca3b1e23b918bcb4255 (diff)
(dir-add.texi): Simplify.
Diffstat (limited to 'manual')
-rw-r--r--manual/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/manual/Makefile b/manual/Makefile
index 0e8ae85dc7..c99f4974a8 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