gimp/help/makedummyhelpfile.sh
Michael Natterer 6eae7942fb app/menus.c Minor help system fixes.
1999-12-17  Michael Natterer  <mitch@gimp.org>

	* app/menus.c
	* app/paths_dialog.c: Minor help system fixes.

	* app/app_procs.c: I thought we should have a real splash (without
	decoration). Like it???

	* app/about_dialog.c
	* app/flip_tool.c
	* app/gradient.c
	* app/levels.c
	* app/measure.c
	* app/text_tool.c
	* app/tools.c
	* app/transform_tool.c: Did some code browsing: I18N fixes,
	s/gtk_window_position/gtk_window_set_position/g, indentation
	paranoia, some g/<type>/g<type>/, various stuff (didn't change any
	logic).
1999-12-17 16:37:50 +00:00

63 lines
1.1 KiB
Bash
Executable file

#!/bin/sh
dir=`basename \`pwd\``
subdirs=`find . -maxdepth 1 -type d`
local=`pwd | sed -e 's/^.*\/help\/C\\(.*\\)/\\1/'`
#
# Create dummy help pages
#
for file in $*
do
name=`basename $file .html`
cat << EOF > $file
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
EOF
echo " <title>Help Page for $name</title>" >> $file
cat << EOF >> $file
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000FF"
vlink="#FF0000" alink="#000088">
<table width="100%" cellspacing="1" cellpadding="1">
<tr bgcolor="black">
<td width="100%" align="center">
EOF
echo " <font size=\"+2\" color=\"white\">$name help page</font>" >> $file
cat << EOF >> $file
</td>
</tr>
<tr bgcolor="white" >
<td width="100%" align="left">
<p>
<a href="index.html">Index</a><p>
($local/$file)<p>
EOF
echo " Sorry but the help file for $name is not yet done." >> $file
cat << EOF >> $file
<p>
/Karin & Olof
<p>
</td>
</tr>
</table>
</body>
</html>
EOF
done