Annotation of 43BSDReno/contrib/emacs-18.55/vmsdist.com, revision 1.1

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 emacs.com;0
        !            27: $
        !            28: $ ! Edit the configuration files.
        !            29: $
        !            30: $ set def [.src]
        !            31: $ copy vmspaths.h paths.h
        !            32: $ copy config.h-dist config.h
        !            33: $ edit/edt/nocommand config.h
        !            34: s/s-bsd4-2.h/s-vms4-4.h/w
        !            35: exit
        !            36: $
        !            37: $ ! Compile, link and dump Emacs.
        !            38: $
        !            39: $ @compile
        !            40: $ @link
        !            41: $ @[-.etc]complink
        !            42: $ @[-.etc]makedoc
        !            43: $ @build
        !            44: $
        !            45: $ ! Move the executable and image to the appropriate place.
        !            46: $
        !            47: $ rename temacs.exe [-]emacs.exe
        !            48: $ rename temacs.dump [-]emacs.dump
        !            49: $ copy sys$library:vaxcrtl.olb vaxcrtl.olb
        !            50: $
        !            51: $ ! Recompile a few files for vms version 4.2.
        !            52: $ ! Call these object files for 4.2 `.jbo'.
        !            53: $
        !            54: $ edit/edt/nocommand config.h
        !            55: s/vms4-4/vms4-2/w
        !            56: exit
        !            57: $ rename doc.obj doc.obx
        !            58: $ rename fileio.obj fileio.obx
        !            59: $ rename sysdep.obj sysdep.obx
        !            60: $ rename vmsfns.obj vmsfns.obx
        !            61: $ @recomp doc
        !            62: $ @recomp fileio
        !            63: $ @recomp sysdep
        !            64: $ @recomp vmsfns
        !            65: $ rename doc.obj doc.jbo
        !            66: $ rename fileio.obj fileio.jbo
        !            67: $ rename sysdep.obj sysdep.jbo
        !            68: $ rename vmsfns.obj vmsfns.jbo
        !            69: $ rename *.obx *.obj
        !            70: $ delete config.h;0
        !            71: $
        !            72: $ ! Change all files back to the names that VMS 4.2 can read in.
        !            73: $
        !            74: $ set def [-]
        !            75: $ @allrename [...] "-" "_"
        !            76: $
        !            77: $ ! Dump onto tape
        !            78: $
        !            79: $ mount /foreign mua0:
        !            80: $ define /translation=concealed dumping  $disk1:[rms.dist_18.]
        !            81: $ set def dumping:[emacs]
        !            82: $ backup /interchange /verify /list [...] mua0:emacs18.51
        !            83: $ dismount mua0:

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.