annotate vms/vmsdist.com @ 38:1a767b41a199 r19-15b102

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