chm-hhp.sh
changeset 1893 da0024f4f068
parent 903 9ead7d97be34
--- a/chm-hhp.sh	Sat Feb 20 14:43:09 2016 +0200
+++ b/chm-hhp.sh	Sat Feb 20 15:20:24 2016 +0200
@@ -2,10 +2,10 @@
 
 echo '[OPTIONS]'
 echo 'Compatibility=1.1 or later'
-echo 'Compiled file=tips4gavenkoa.chm'
+echo 'Compiled file=chm.chm'
 echo 'Contents file=chm.hhc'
 echo 'Default Window=Navigation panel'
-echo 'Default topic=index-chm.html'
+echo 'Default topic=iframe.html'
 echo 'Display compile progress=No'
 echo 'Full text search stop list file=chm.stp'
 echo 'Full-text search=Yes'
@@ -13,11 +13,14 @@
 echo 'Title=Tips from gavenkoa'
 echo ''
 echo '[WINDOWS]'
-echo 'Navigation panel=,"chm.hhc",,"index-chm.html","index-chm.html",,,,,0x62520,250,0x304e,[0,0,900,600],,,,,,,0'
+echo 'Navigation panel=,"chm.hhc",,"iframe.html","iframe.html",,,,,0x62520,250,0x304e,[0,0,900,600],,,,,,,0'
 echo ''
 echo '[FILES]'
 
 for file in *.rst *.txt; do
+  case $file in
+    HEADER.rst) continue;;
+  esac
   ext=${file##*.}
   name=${file%.${ext}}
   case $ext in
@@ -29,7 +32,6 @@
       ;;
   esac
 done
-echo index-chm.html
 
 echo ''
 echo '[INFOTYPES]'