X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=stepmake%2Fbin%2Fadd-html-footer.py;h=1ab9987e84319aa2ee6b9a7694bb5ff2664a26a7;hb=76014fe170f4217374f4726d54c2a46c60f73e67;hp=1eb654a68588e5115837a561a9ec65195ea1e8d2;hpb=29d1ad412ee48aa7a3a1666c7ab7af8fd2e2b1bf;p=lilypond.git 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 +