File: makeHelp

package info (click to toggle)
dotfile 1%3A2.4-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,472 kB
  • ctags: 523
  • sloc: tcl: 14,072; sh: 918; makefile: 177; lisp: 18; ansic: 7
file content (17 lines) | stat: -rwxr-xr-x 427 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh
if [ "$2" == "" ]; then
   echo "syntax makeHelp <Generator Path> <module help file> [<language>]"
   echo "The language defaults to english"
fi    

if [ "$3" == "" ]; then
    language=english
else
    language=$3
fi

cp $1/help.$language.html helpfile.data
echo "\n\n<h1>---------------</h1>" >> helpfile.data
cat $2 >> helpfile.data
wish $1/makeHelp.tcl helpfile.data generatedHelp.$language $1
rm helpfile.data