summaryrefslogtreecommitdiff
path: root/manual/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'manual/Makefile')
-rw-r--r--manual/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/manual/Makefile b/manual/Makefile
index 0e8ae85dc7..fafa7e77d9 100644
--- a/manual/Makefile
+++ b/manual/Makefile
@@ -66,10 +66,10 @@ 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; \
+dir-add.texi: xtract-typefun.awk $(chapters)
+ if test -n "$(chapters)"; then \
+ (for i in $(chapters); do \
+ $(GAWK) -f $< < $$i; \
done) | sort > $@.new; \
./move-if-change $@.new $@; \
fi