!============================================================================= ! File ! INSTALL.MMS ! ! Abstract !! This is the overall INSTALL file that is used to INSTALL all of !- the items into the correct run-time directories !============================================================================= .silent .ignore !# MMS Definition Files !! The following files are included to provide standardized DEC/MMS !- macros and rules for INSTALLing this. ![ !: MACROS.MMS .include MACROS.MMS !^ MMS Include Files>MACROS.MMS>in INSTALL.MMS !: TEXTOOLS_MACROS.MMS .include TEXTOOLS_MACROS.MMS !^ MMS Include Files>TEXTOOLS_MACROS.MMS>in INSTALL.MMS !: INSTALL_RULES.MMS .include INSTALL_RULES.MMS !^ MMS Include Files>INSTALL_RULES.MMS>in INSTALL.MMS !: FIRST.MMS .include FIRST.MMS !^ MMS Include Files>FIRST.MMS>in INSTALL.MMS !! In addition to what is specified to be done in the FIRST.MMS file, !- add the following. !( @ !: Display values of key objects. @ prt "" @ prt " MMS Macros:" @ prt " COMCOPY ""$(COMCOPY)""" @ prt " DCLSHRINK ""$(DCLSHRINK)""" @ prt " EXE ""$(EXE)""" @ prt " DATA ""$(DATA)""" @ prt " HELP ""$(HELP)""" @ prt " HLB ""$(HLB)""" @ prt " LOCAL ""$(LOCAL)""" @ prt " ROOT ""$(ROOT)""" @ prt " TOP ""$(TOP)""" @ prt "" !: $(TOP) if f$search( "$(TOP)*.*" ) .eqs. "" then - create/dir/log $(TOP) @ !: $(DATA) if f$search( "$(TOP)data.dir" ) .eqs. "" then - create/dir/log $(DATA) if f$search( "$(TOP)data.dir" ) .nes. "" then - set prot = (g:re,w:re) $(TOP)data.dir if f$search( "$(DATA)usage.log" ) .eqs. "" then - edit/edt/command=init_file.edt $(DATA)usage.log if f$search( "$(DATA)usage.log" ) .nes. "" then - set prot = (g:rwe,w:rwe) $(DATA)usage.log @ !: $(DOC) if f$search( "$(TOP)DOC.dir" ) .eqs. "" then - create/dir/log $(DOC) if f$search( "$(TOP)doc.dir" ) .nes. "" then - set prot = (g:re,w:re) $(TOP)doc.dir @ !: $(EXE) if f$search( "$(EXE)*.*" ) .eqs. "" then - create/dir/log $(EXE) if f$search( "$(TOP)exe.dir" ) .nes. "" then - set prot = (g:re,w:re) $(TOP)exe.dir @ !: $(HELP) if f$search( "$(HELP)*.*" ) .eqs. "" then - create/dir/log $(HELP) if f$search( "$(TOP)help.dir" ) .nes. "" then - set prot = (g:re,w:re) $(TOP)help.dir !: $(HLB) if f$search( "$(HLB)" ) .nes. "" then - set prot = (g:r,w:r) $(HLB) @ !: $(LOCAL) if f$search( "$(LOCAL)*.*" ) .eqs. "" then - create/dir/log $(LOCAL) if f$search( "$(TOP)local.dir" ) .nes. "" then - set prot = (g:re,w:re) $(TOP)local.dir !] !: LAST.MMS .include LAST.MMS !^ MMS Include Files>LAST.MMS>in INSTALL.MMS @ !! In addition to what is specified to be done in the LAST.MMS @ !- file, have a directory listing output of the files created @ !- in the install directory tree (since this began). ![ dir 'dir_since_qual' $(top),$(data),$(doc),$(exe),$(help),$(local) !] end - LAST.MMS !: DEFAULT.MMS .include DEFAULT.MMS !^ MMS Include Files>DEFAULT.MMS>in INSTALL.MMS !] ! !# MMS Targets ![ !: INSTALL !^ MMS Targets>INSTALL>in INSTALL.MMS INSTALL : - init_file.edt, - comcopy.com, - help, - tools, - data, - top @ write sys$output "%MMS-I-TARGET, $(mms$target) built" !: SIG_TAPE !^ MMS Targets>SIG_TAPE>in INSTALL.MMS SIG_TAPE : - init_file.edt, - comcopy.com, - help, - web, - $(EXE)DCL.COM, - $(EXE)COM.COM, - $(EXE)EXE.COM, - $(DATA)TOOLS.DAT, - top @ write sys$output "%MMS-I-TARGET, $(mms$target) built" ! !: DOCUMENTATION !^ MMS Targets>DOCUMENTATION>in INSTALL.MMS DOCUMENTATION : - $(DOC)CHEAT_SHEET.PS, - $(DOC)CHEAT_SHEET.LN3 @ write sys$output "%MMS-I-TARGET, $(mms$target) built" !: $(DOC)CHEAT_SHEET.PS !^ MMS Targets>$(DOC)CHEAT_SHEET.PS>in INSTALL.MMS $(DOC)CHEAT_SHEET.PS : CHEAT_SHEET.PS copy $(copy_doc_prot) $(mms$source) $(mms$target) @ write sys$output "%MMS-I-TARGET, $(mms$target) installed" !: $(DOC)CHEAT_SHEET.LN3 !^ MMS Targets>$(DOC)CHEAT_SHEET.LN3>in INSTALL.MMS $(DOC)CHEAT_SHEET.LN3 : CHEAT_SHEET.LN3 copy $(copy_doc_prot) $(mms$source) $(mms$target) @ write sys$output "%MMS-I-TARGET, $(mms$target) installed" !: $(DOC)LOCAL.PS !^ MMS Targets>$(DOC)LOCAL.PS>in INSTALL.MMS $(DOC)LOCAL.PS : LOCAL.PS copy $(copy_doc_prot) $(mms$source) $(mms$target) @ write sys$output "%MMS-I-TARGET, $(mms$target) installed" ! !: TOOLS !^ MMS Targets>TOOLS>in INSTALL.MMS TOOLS : - docsty, - web, - $(EXE)DCL.COM, - $(EXE)COM.COM, - $(EXE)EXE.COM @ write sys$output "%MMS-I-TARGET, $(mms$target) built" !: $(EXE)COM.COM !^ MMS Targets>$(EXE)COM.COM>in INSTALL.MMS $(EXE)COM.COM : COM.COM $(comcopy) $(mms$source) $(mms$target) @ write sys$output "%MMS-I-TARGET, $(mms$target) installed" !: $(EXE)DCL.COM !^ MMS Targets>$(EXE)DCL.COM>in INSTALL.MMS $(EXE)DCL.COM : DCL.COM $(comcopy) $(mms$source) $(mms$target) @ write sys$output "%MMS-I-TARGET, $(mms$target) installed" !: $(EXE)EXE.COM !^ MMS Targets>$(EXE)EXE.COM>in INSTALL.MMS $(EXE)EXE.COM : EXE.COM $(comcopy) $(mms$source) $(mms$target) @ write sys$output "%MMS-I-TARGET, $(mms$target) installed" !] end - MMS Targets ! !# MMS Include Files ![ !: DATA_INSTALL.MMS .INCLUDE DATA_INSTALL.MMS !^ MMS Include Files>DATA_INSTALL.MMS>in INSTALL.MMS !: DOCSTY_INSTALL.MMS .INCLUDE DOCSTY_INSTALL.MMS !^ MMS Include Files>DOCSTY_INSTALL.MMS>in INSTALL.MMS !: HELP_INSTALL.MMS .INCLUDE HELP_INSTALL.MMS !^ MMS Include Files>HELP_INSTALL.MMS>in INSTALL.MMS !: TOP_INSTALL.MMS .INCLUDE TOP_INSTALL.MMS !^ MMS Include Files>TOP_INSTALL.MMS>in INSTALL.MMS !: WEB_INSTALL.MMS .INCLUDE WEB_INSTALL.MMS !^ MMS Include Files>WEB_INSTALL.MMS>in INSTALL.MMS !] end - MMS Include Files