summaryrefslogtreecommitdiff
path: root/scripts
authorzecke <zecke>2003-05-17 13:29:50 (UTC)
committer zecke <zecke>2003-05-17 13:29:50 (UTC)
commitbc581ecfb47325fc6b8c8558b596f643002401b6 (patch) (side-by-side diff)
treeea0d48bec465066c7726db488dbddb4b52e3dec6 /scripts
parent6e3480b56d8962592e946f779ed9249749cf8dbb (diff)
downloadopie-bc581ecfb47325fc6b8c8558b596f643002401b6.zip
opie-bc581ecfb47325fc6b8c8558b596f643002401b6.tar.gz
opie-bc581ecfb47325fc6b8c8558b596f643002401b6.tar.bz2
executable and not opie-executable
DOCTYPE is too much for QTextView
Diffstat (limited to 'scripts') (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
@@ -1,7 +1,7 @@
#!/usr/bin/env python
"""
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
"""
import os
@@ -49,12 +49,10 @@ def doit( name, cc ):
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>
<hr>
@@ -70,7 +68,7 @@ def makecontrol( directory, application, cc, desktop ):
print "Creating control file '%s'" % controlfilename
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"
print >> c, "Maintainer: %s" % desktop.get( "Maintainer", "Team Opie <opie@handhelds.org>" )