aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.in
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-09-13 01:50:58 +1000
committerGravatar axel <axel@liljencrantz.se>2006-09-13 01:50:58 +1000
commitf72de8e141361fcc863dd274677661a08fe90371 (patch)
treeb3860991d1569369f74112481cf953d0eccc74be /Makefile.in
parent02eb856e448cdf2103e6e1e1a48b39a04c5c8559 (diff)
Ugly kludge to fix ugly header output from Doxygen in man-pages
darcs-hash:20060912155058-ac50b-50487271adc31d20a0e07e742a1cbe724068be6d.gz
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 9f988f6f..6b0e9aaf 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -336,7 +336,8 @@ doc_src/builtin_doc: $(BUILTIN_DOC_SRC) doc_src/count.txt builtin_help.hdr $(CMD
done
cd doc_src; doxygen; cd ..;
for i in doc_src/builtin_doc/man/man1/*.1; do \
- sed -e "s/\(.\)\\.SH/\1/" <$$i >$$i.tmp; \
+ CMD_NAME=`basename $$i .1`; \
+ sed -e "s/\(.\)\\.SH/\1/" -e "s/$$CMD_NAME *\\\\- *\"\(.*\)\"/\1/" <$$i >$$i.tmp; \
mv $$i.tmp $$i; \
done
touch doc_src/builtin_doc