diff options
author | Guido van Rossum <guido@python.org> | 1998-07-24 20:58:52 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-07-24 20:58:52 (GMT) |
commit | aca61a43ddb4bf2d8f9096883834d2952f242bb6 (patch) | |
tree | 3be75d963e0656b3942fdbdd0e3db92d574fbe6f /Doc/ref/makeMIFs.py | |
parent | 6a2fe26861484c81e89b96889e35aa5d73a0e3b2 (diff) | |
download | cpython-aca61a43ddb4bf2d8f9096883834d2952f242bb6.zip cpython-aca61a43ddb4bf2d8f9096883834d2952f242bb6.tar.gz cpython-aca61a43ddb4bf2d8f9096883834d2952f242bb6.tar.bz2 |
Removing all references to FrameMaker
Diffstat (limited to 'Doc/ref/makeMIFs.py')
-rw-r--r-- | Doc/ref/makeMIFs.py | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/Doc/ref/makeMIFs.py b/Doc/ref/makeMIFs.py deleted file mode 100644 index faec284..0000000 --- a/Doc/ref/makeMIFs.py +++ /dev/null @@ -1,28 +0,0 @@ -#! /bin/env python - -"""Script to write MIF files from ref.book and ref*.doc.""" - -import os -import glob -import string - -def main(): - files = ['ref.book'] + glob.glob('ref*.doc') - files.sort() - print "Files:", string.join(files) - print "Starting FrameMaker..." - pipe = os.popen("fmbatch", 'w') - for i in files: - cmd = "Open %s\nSaveAs m %s %s.MIF\n" % (i, i, os.path.splitext(i)[0]) - print cmd - pipe.write(cmd) - pipe.write("Quit\n") - sts = pipe.close() - if sts: - print "Exit status", hex(sts) - else: - print "Starting webmaker..." - os.system('/depot/sundry/src/webmaker/webmaker-sparc/webmaker -c ref.wml -t "Python 1.5 Reference Manual" ref.MIF') - -if __name__ == '__main__': - main() |