X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=buildscripts%2Fwww_post.py;h=29f80cf09fa2bb208995e7c5094974782c6ee566;hb=92386a8e6ed5153d80b2e82ec4371fdb677d515a;hp=b2d7ca510cb9bf663e3697d958709bce57acb96d;hpb=b9c3fa6bdea9d17ef1e93d3595e1b3f69233a49a;p=lilypond.git diff --git a/buildscripts/www_post.py b/buildscripts/www_post.py index b2d7ca510c..29f80cf09f 100644 --- a/buildscripts/www_post.py +++ b/buildscripts/www_post.py @@ -3,14 +3,19 @@ ## This is www_post.py. This script is the main stage ## of toplevel GNUmakefile local-WWW-post target. -# USAGE: www_post PACKAGE_NAME TOPLEVEL_VERSION BUILDSCRIPT-DIR OUTDIR TARGETS +# USAGE: www_post PACKAGE_NAME TOPLEVEL_VERSION OUTDIR TARGETS # please call me from top of the source directory import sys import os import re -package_name, package_version, buildscript_dir, outdir, targets = sys.argv[1:] +import langdefs + +import mirrortree +import postprocess_html + +package_name, package_version, outdir, targets = sys.argv[1:] targets = targets.split (' ') outdir = os.path.normpath (outdir) doc_dirs = ['input', 'Documentation', outdir] @@ -29,8 +34,6 @@ static_files = { Redirecting to the documentation index...\n''' } -import langdefs - for l in langdefs.LANGUAGES: static_files[os.path.join ('Documentation', 'user', outdir, l.file_name ('index', '.html'))] = \ '