|
|
1.1 root 1: $ ! Command file to build Emacs on VMS and create a backup saveset.
2: $ ! rms, 16 May 1988
3: $
4: $ ! We assume that the files have been read in to a directory
5: $ ! $disk1:[rms.dist.emacs]; you should replace `$disk1:[rms.dist'
6: $ ! with the actual name of the superior directory of [.emacs].
7: $ ! This replacement needs to be done in a few places.
8: $
9: $ ! You should be in that directory when you run this command file.
10: $
11: $ ! We also assume that the tar-tape reader has changed all `-' to `_'
12: $ ! in filenames. If this is not so, delete the first `@allrename' command.
13: $
14: $ ! You must also edit the mag tape device name
15: $ ! And the Emacs version that appears in the saveset name.
16: $
17: $ ! Change to vms 4.4 filenames.
18: $ @allrename [...] "_" "-"
19: $
20: $ ! Set up logical devices so we can compile and run Emacs.
21: $
22: $ edit/edt/nocommand emacs.com
23: s/sys$sysdevice:[emacs.]/$disk1:[rms.dist_18.emacs.]/w
24: exit
25: $ @emacs
26: $ ! Delete the modified emacs.com so we leave the source files clean.
27: $ ! emacs.com must be edited for real when Emacs is installed
28: $ ! on another machine. This version wouldn't be right anyway.
29: $ delete emacs.com;0
30: $
31: $ ! Edit the configuration files.
32: $
33: $ set def [.src]
34: $ copy vmspaths.h paths.h
35: $ copy config.h-dist config.h
36: $ edit/edt/nocommand config.h
37: s/s-bsd4-2.h/s-vms5-5.h/w
38: exit
39: $
40: $ ! Compile, link and dump Emacs.
41: $
42: $ @compile
43: $ @link
44: $ @[-.etc]complink
45: $ @[-.etc]makedoc
46: $ @build
47: $
48: $ ! Move the executable and image to the appropriate place.
49: $
50: $ rename temacs.exe [-]emacs.exe
51: $ rename temacs.dump [-]emacs.dump
52: $ ! No longer necessary since VMS systems come with this file.
53: $ ! copy sys$library:vaxcrtl.olb vaxcrtl.olb
54: $
55: $ ! Recompile a few files for vms version 4.2.
56: $ ! Call these object files for 4.2 `.jbo'.
57: $
58: $ edit/edt/nocommand config.h
59: s/vms4-4/vms4-2/w
60: exit
61: $ rename doc.obj doc.obx
62: $ rename fileio.obj fileio.obx
63: $ rename sysdep.obj sysdep.obx
64: $ rename vmsfns.obj vmsfns.obx
65: $ @recomp doc
66: $ @recomp fileio
67: $ @recomp sysdep
68: $ @recomp vmsfns
69: $ rename doc.obj doc.jbo
70: $ rename fileio.obj fileio.jbo
71: $ rename sysdep.obj sysdep.jbo
72: $ rename vmsfns.obj vmsfns.jbo
73: $ rename *.obx *.obj
74: $ delete config.h;0
75: $
76: $ ! Change all files back to the names that VMS 4.2 can read in.
77: $
78: $ set def [-]
79: $ @allrename [...] "-" "_"
80: $
81: $ ! Dump onto tape
82: $
83: $ mount /foreign mua0:
84: $ define /translation=concealed dumping $disk1:[rms.dist_18.]
85: $ set def dumping:[emacs]
86: $ backup /interchange /verify /list [...] mua0:emacs18.51
87: $ dismount mua0:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.