summaryrefslogtreecommitdiff
path: root/scripts/mkHelpSkeleton
Unidiff
Diffstat (limited to 'scripts/mkHelpSkeleton') (more/less context) (ignore whitespace changes)
-rwxr-xr-xscripts/mkHelpSkeleton10
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 @@
2""" 2"""
3This skript creates a help skeleton for a certain application 3This skript creates a help skeleton for a certain application
4(C) Michael 'Mickey' Lauer who did this even if he had a lot of other stuff to do... 4(C) Michael 'Mickey' Lauer who did this even if he had a lot of other stuff to do... THANKS
5""" 5"""
6 6
@@ -50,10 +50,8 @@ def makehtml( directory, application, cc, desktop ):
50 """Creates the help template file.""" 50 """Creates the help template file."""
51 51
52 helpfilename = "%s/opie-%s.html" % ( directory, application ) 52 helpfilename = "%s/%s.html" % ( directory, application )
53 print "Creating help file '%s'" % helpfilename 53 print "Creating help file '%s'" % helpfilename
54 h = file( helpfilename, "w" ) 54 h = file( helpfilename, "w" )
55 print >> h, """ 55 print >> h, """<html> <head> <title>%s</title> </head>
56<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
57<html> <head> <title>%s</title> </head>
58<body> 56<body>
59 <center><h1>%s</h1></center> 57 <center><h1>%s</h1></center>
@@ -71,5 +69,5 @@ def makecontrol( directory, application, cc, desktop ):
71 c = file( controlfilename, "w" ) 69 c = file( controlfilename, "w" )
72 print >> c, "Package: opie-%s-help-%s" % ( application, cc ) 70 print >> c, "Package: opie-%s-help-%s" % ( application, cc )
73 print >> c, "Files: help/%s/html/opie-%s.html help/%s/html/%s" % ( cc, application, cc, application ) 71 print >> c, "Files: help/%s/html/%s.html help/%s/html/%s" % ( cc, application, cc, application )
74 print >> c, "Priority: optional" 72 print >> c, "Priority: optional"
75 print >> c, "Section: opie/onlinedoc" 73 print >> c, "Section: opie/onlinedoc"