-rwxr-xr-x | scripts/mkHelpSkeleton | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/scripts/mkHelpSkeleton b/scripts/mkHelpSkeleton index ffb21c2..d7914fe 100755 --- a/scripts/mkHelpSkeleton +++ b/scripts/mkHelpSkeleton @@ -2,5 +2,5 @@ """ This skript creates a help skeleton for a certain application -(C) Michael 'Mickey' Lauer who did this even if he had a lot of other stuff to do... +(C) Michael 'Mickey' Lauer who did this even if he had a lot of other stuff to do... THANKS """ @@ -50,10 +50,8 @@ def makehtml( directory, application, cc, desktop ): """Creates the help template file.""" - helpfilename = "%s/opie-%s.html" % ( directory, application ) + helpfilename = "%s/%s.html" % ( directory, application ) print "Creating help file '%s'" % helpfilename h = file( helpfilename, "w" ) - print >> h, """ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> -<html> <head> <title>%s</title> </head> + print >> h, """<html> <head> <title>%s</title> </head> <body> <center><h1>%s</h1></center> @@ -71,5 +69,5 @@ def makecontrol( directory, application, cc, desktop ): c = file( controlfilename, "w" ) print >> c, "Package: opie-%s-help-%s" % ( application, cc ) - print >> c, "Files: help/%s/html/opie-%s.html help/%s/html/%s" % ( cc, application, cc, application ) + print >> c, "Files: help/%s/html/%s.html help/%s/html/%s" % ( cc, application, cc, application ) print >> c, "Priority: optional" print >> c, "Section: opie/onlinedoc" |