From 22cb7dd2d750e96afb8a48e732a3dba57c48f091 Mon Sep 17 00:00:00 2001 From: axel Date: Tue, 22 Aug 2006 10:48:10 +1000 Subject: [PATCH] Add horizontal ruler between documentation for builtins and commands darcs-hash:20060822004810-ac50b-aa75e233685ce4e0c22cde27411550a13efbeff6.gz --- Makefile.in | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 399f30134..56bdb220d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -238,11 +238,17 @@ xsel-0.9.6/xsel: xsel-0.9.6 doc.h:$(BUILTIN_DOC_SRC) $(CMD_DOC_SRC) doc_src/doc.hdr cat doc_src/doc.hdr >doc.h; echo "/** \page builtins Builtin commands" >>doc.h; - cat `printf "%s\n" $(BUILTIN_DOC_SRC)|sort` >>doc.h; + for i in `printf "%s\n" $(BUILTIN_DOC_SRC)|sort`; do \ + echo "
" >>doc.h; \ + cat $$i >>doc.h; \ + done echo "*/" >>doc.h echo "/** \page commands External commands" >>doc.h; echo "\c fish is shipped with commands which do not use any internal parts of the shell, and are therefore not written as builtins, but separate commands." >>doc.h - cat `printf "%s\n" $(CMD_DOC_SRC)|sort` >>doc.h; + for i in `printf "%s\n" $(CMD_DOC_SRC)|sort`; do \ + echo "
" >>doc.h; \ + cat $$i >>doc.h; \ + done echo "*/" >>doc.h # This rule creates complete doxygen headers from each of the various