This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
realclean unidatafiles on VMS the same way as elsewhere.
authorCraig A. Berry <craigberry@mac.com>
Sat, 16 Mar 2019 19:10:40 +0000 (14:10 -0500)
committerCraig A. Berry <craigberry@mac.com>
Sat, 16 Mar 2019 19:10:40 +0000 (14:10 -0500)
We were deleting lib/unicore/*.pl, but with uni_keywords.pl there
is now one non-generated .pl file in that directory.  Deleting it
in realclean caused subsequent configure attempts in the same
directory tree to fail.

vms/descrip_mms.template

index c4db86a..b952d03 100644 (file)
@@ -275,6 +275,12 @@ CRTLOPTS =,$(CRTL)/Options
        $(CC) $(CFLAGS) $(MMS$SOURCE_NAME).c
 .endif
 
+# Unicode data files generated by mktables
+unidatafiles = lib/unicore/Decomposition.pl lib/unicore/TestProp.pl \
+       lib/unicore/CombiningClass.pl lib/unicore/Name.pl \
+       lib/unicore/UCD.pl lib/unicore/Name.pm \
+       lib/unicore/Heavy.pl lib/unicore/mktables.lst
+
 # Directories of Unicode data files generated by mktables
 unidatadirs = lib/unicore/To lib/unicore/lib
 
@@ -800,8 +806,7 @@ realclean : clean
        - If F$Search("config.h").nes."" Then Delete/NoConfirm/Log config.h;*
        - If F$Search("config.sh").nes."" Then Delete/NoConfirm/Log config.sh;*
        - $(MINIPERL) -e "use File::Path; rmtree(\@ARGV,1,0);" config
-       - If F$Search("[.lib.unicore...]*.pl").nes."" Then Delete/NoConfirm/Log [.lib.unicore...]*.pl;*
-       - If F$Search("[.lib.unicore]Properties.").nes."" Then Delete/NoConfirm/Log [.lib.unicore]Properties.;*
+       - $(MINIPERL) -e "use File::Path; rmtree(\@ARGV,1,0);" $(unidatafiles)
        - $(MINIPERL) -e "use File::Path; rmtree(\@ARGV,1,0);" $(unidatadirs)
        - If F$Search("Descrip.MMS").nes."" Then Delete/NoConfirm/Log Descrip.MMS;*
        - If F$Search("extra_pods.Com").nes."" Then Delete/NoConfirm/Log extra_pods.Com;*