From: fred Date: Tue, 26 Mar 2002 23:57:45 +0000 (+0000) Subject: lilypond-1.3.141 X-Git-Tag: release/1.5.59~1215 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8a2e4c9d29aa49cc196266173da74d82c6607ab3;p=lilypond.git lilypond-1.3.141 --- diff --git a/stepmake/bin/add-html-footer.py b/stepmake/bin/add-html-footer.py index 984bbc7c10..a3aa23133a 100644 --- a/stepmake/bin/add-html-footer.py +++ b/stepmake/bin/add-html-footer.py @@ -124,7 +124,7 @@ set_gcos () localtime = time.strftime ('%c %Z', time.localtime (time.time ())) if os.path.basename (index_url) != "index.html": - index_url = index_url + "/index.html" + index_url = os.path.join (index_url , "index.html") top_url = os.path.dirname (index_url) + "/" header = compose (default_header, header_file) @@ -172,8 +172,12 @@ def do_file (f): if os.path.basename (f) == "index.html": cwd = os.getcwd () if os.path.basename (cwd) == "topdocs": - index = "./index.html" - top = "./" + index = "index.html" + top = "" + + # don't cause ///////index.html entries in log files. + # index = "./index.html" + # top = "./" s = re.sub ('@INDEX@', index, s) s = re.sub ('@TOP@', top, s)