From 5a06674986e9e4456f3f0061f5b25b59215343f4 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 26 Mar 2002 22:25:58 +0000 Subject: [PATCH] lilypond-1.2.7 --- stepmake/bin/add-html-footer.py | 234 ++++++++++-------- stepmake/bin/ls-latex.py | 7 +- stepmake/stepmake/yolily-topdoc-targets.make | 2 - .../stepmake/yolily-toplevel-targets.make | 4 +- 4 files changed, 139 insertions(+), 108 deletions(-) diff --git a/stepmake/bin/add-html-footer.py b/stepmake/bin/add-html-footer.py index 1eb654a685..1ab9987e84 100644 --- a/stepmake/bin/add-html-footer.py +++ b/stepmake/bin/add-html-footer.py @@ -3,10 +3,7 @@ """ Print a nice footer. add the top of the ChangeLog file (up to the ********) """ - -program_name = 'add-html-footer' -version = '0.1' - +import re import sys import os import time @@ -16,135 +13,168 @@ import __main__ fullname = "unknown" changelog_file = '' - index_file='' banner_file = '' changelog_file='' changes ='' -footer = '\n
Please take me back to the index\n\ -of %s\n' -builtstr = '\n
\n\ -This page was built from %s-%s by\ -

%s <%s>, at %s.

' +package_version = '' + +mail_address = '(address unknown)' +try: + mail_address= os.environ['MAILADDRESS'] +except KeyError: + pass -(options, files) = getopt.getopt(sys.argv[1:], 'c:hp:', ['changelog=', 'help', 'news=', 'index=', 'package=']) + +webmaster= '' +try: + webmaster= os.environ['WEBMASTER'] +except KeyError: + pass + + + +footer_fn = '' +footer = r"""


Please take me back to the index +of %s +