applied patch, with tab tweak suggest by Peter Prymmer
Hans Mulder [Tue, 14 Jul 1998 16:41:14 +0000 (09:41 -0700)]
Message-Id: <3.0.5.32.19980714164114.00a3e2a0@ous.edu>
Subject: [PATCH 5.004_74]VMS build cleanups

p4raw-id: //depot/perl@1512

vms/descrip_mms.template

index 95c4def..9c3e806 100644 (file)
@@ -440,7 +440,7 @@ $(ARCHDIR)config.pm : [.lib]config.pm
        Create/Directory $(ARCHDIR)
        Copy $(MMS$SOURCE) $(MMS$TARGET)
 
-[.lib]config.pm : config.h $(MINIPERL_EXE)
+[.lib]config.pm : config.h $(MINIPERL_EXE) [.lib]re.pm
        $(MINIPERL) ConfigPM.
 
 [.ext.dynaloader]dl_vms.c : [.ext.dynaloader]dl_vms.xs $(ARCHDIR)Config.pm [.lib.ExtUtils]XSSymSet.pm $(MINIPERL_EXE)
@@ -612,13 +612,12 @@ Dumper : [.lib.data]dumper.pm [.lib.auto.data.dumper]dumper$(E)
 re : [.lib]re.pm [.lib.auto.re]re$(E)
        @ $(NOOP)
 
-[.lib]re.pm : [.ext.re]Descrip.MMS
+[.lib]re.pm : [.ext.re]re.pm
        @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
-       @ Set Default [.ext.re]
-       $(MMS)
-       @ Set Default [--]
+       @ copy [.ext.re]re.pm [.lib]re.pm   
 
 [.lib.auto.re]re$(E) : [.ext.re]Descrip.MMS
+       @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
        @ Set Default [.ext.re]
        $(MMS)
        @ Set Default [--]
@@ -1523,8 +1522,6 @@ clean : tidy
        Set Default [---]
        - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*/Exclude=PerlShr_*.Opt
        - If F$Search("[...]*$(O);*") .nes."" Then Delete/NoConfirm/Log [...]*$(O);*
-       - If F$Search("Config.H").nes."" Then Delete/NoConfirm/Log Config.H;*
-       - If F$Search("Config.SH").nes."" Then Delete/NoConfirm/Log Config.SH;*
        - If F$Search(F$Parse("Sys$Disk:[]","$(SOCKH)")).nes."" Then Delete/NoConfirm/Log $(SOCKH);*
        - If F$Search(F$Parse("Sys$Disk:[]","$(SOCKC)")).nes."" Then Delete/NoConfirm/Log $(SOCKC);*
        - If F$Search("perly.c").nes."" Then Delete/NoConfirm/Log perly.c;*
@@ -1579,13 +1576,15 @@ realclean : clean
        - $(MMS) realclean
        Set Default [--]
        Set Default [.vms.ext.Stdio]
-       - $(MMS) clean
+       - $(MMS) realclean
        Set Default [---]
        Set Default [.vms.ext.DCLsym]
-       - $(MMS) clean
+       - $(MMS) realclean
        Set Default [---]
        - If F$Search("*$(OLB)").nes."" Then Delete/NoConfirm/Log *$(OLB);*
        - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*
+       - If F$Search("Config.H").nes."" Then Delete/NoConfirm/Log Config.H;*
+       - If F$Search("Config.SH").nes."" Then Delete/NoConfirm/Log Config.SH;*
        - If F$Search("descrip.mms").nes."" Then Delete/NoConfirm/Log descrip.mms;*
        - $(MINIPERL) -e "use File::Path; rmtree(['lib/auto','lib/VMS','lib/$(ARCH)'],1,0);"
        - If F$Search("[.Lib]DynaLoader.pm").nes."" Then Delete/NoConfirm/Log [.Lib]DynaLoader.pm;*