Ugly kludge to fix ugly header output from Doxygen in man-pages

darcs-hash:20060912155058-ac50b-50487271adc31d20a0e07e742a1cbe724068be6d.gz
This commit is contained in:
axel 2006-09-13 01:50:58 +10:00
parent 02eb856e44
commit f72de8e141

View file

@ -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