+ # generate a list of new <keyword> tags to add to the index file; without
+ # this step in the 'index' tab of Qt assistant the "wxWindow" class is not
+ # present; just "wxWindow::wxWindow" ctor is listed.
+ # NOTE: this operation is not indispensable but produces a QCH easier to use IMO.
+ sed -e 's/<keyword name="wx[a-zA-Z~]*" id="wx\([a-zA-Z]*\)::[a-zA-Z~]*" ref="\([a-z_]*.html\)#.*"/<keyword name="wx\1" id="wx\1" ref="\2"/g' < $qhelpfile | grep "<keyword name=\"wx" | uniq >temp
+ cat temp >>$qhelpfile
+ echo " </keywords>" >>$qhelpfile
+ echo " <files>" >>$qhelpfile
+
+ # remove useless files to make the qch slim
+ rm temp *map *md5