Mercurial > hg > xemacs-beta
comparison vms/vmsdist.com @ 0:376386a54a3c r19-14
Import from CVS: tag r19-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:45:50 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:376386a54a3c |
---|---|
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-vms4-4.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 $ copy sys$library:vaxcrtl.olb vaxcrtl.olb | |
53 $ | |
54 $ ! Recompile a few files for vms version 4.2. | |
55 $ ! Call these object files for 4.2 `.jbo'. | |
56 $ | |
57 $ edit/edt/nocommand config.h | |
58 s/vms4-4/vms4-2/w | |
59 exit | |
60 $ rename doc.obj doc.obx | |
61 $ rename fileio.obj fileio.obx | |
62 $ rename sysdep.obj sysdep.obx | |
63 $ rename vmsfns.obj vmsfns.obx | |
64 $ @recomp doc | |
65 $ @recomp fileio | |
66 $ @recomp sysdep | |
67 $ @recomp vmsfns | |
68 $ rename doc.obj doc.jbo | |
69 $ rename fileio.obj fileio.jbo | |
70 $ rename sysdep.obj sysdep.jbo | |
71 $ rename vmsfns.obj vmsfns.jbo | |
72 $ rename *.obx *.obj | |
73 $ delete config.h;0 | |
74 $ | |
75 $ ! Change all files back to the names that VMS 4.2 can read in. | |
76 $ | |
77 $ set def [-] | |
78 $ @allrename [...] "-" "_" | |
79 $ | |
80 $ ! Dump onto tape | |
81 $ | |
82 $ mount /foreign mua0: | |
83 $ define /translation=concealed dumping $disk1:[rms.dist_18.] | |
84 $ set def dumping:[emacs] | |
85 $ backup /interchange /verify /list [...] mua0:emacs18.51 | |
86 $ dismount mua0: |