X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=buildscripts%2Fwww_post.py;h=1af5c922ec831f6548bf82b06af28e821333e821;hb=e67cf7c7d6414206e2946bd6144796cdf7beea95;hp=26cd613e4cdad36764c976bb424b124bc1638b08;hpb=3dd560c0c440c9e97730ca13f6d5abbb020bb02e;p=lilypond.git diff --git a/buildscripts/www_post.py b/buildscripts/www_post.py index 26cd613e4c..1af5c922ec 100644 --- a/buildscripts/www_post.py +++ b/buildscripts/www_post.py @@ -3,15 +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 -import gettext -package_name, package_version, buildscript_dir, localedir, 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] @@ -30,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'))] = \ '