p4raw-id: //depot/perl@22963
$(LDLIBPTH) ./miniperl -Ilib lib/lib_pm.PL
$(unidatafiles): miniperl$(EXE_EXT) lib/Config.pm lib/unicore/mktables
- cd lib/unicore && $(LDLIBPTH) ../../miniperl -I../../lib mktables
+ cd lib/unicore && $(LDLIBPTH) ../../miniperl -I../../lib mktables -w
extra.pods: miniperl$(EXE_EXT)
-@test -f extra.pods && rm -f `cat extra.pods`
##
my $Verbose = 0;
my $MakeTestScript = 0;
+my $AlwaysWrite = 0;
while (@ARGV)
{
$Verbose = 1;
} elsif ($arg eq '-q') {
$Verbose = 0;
+ } elsif ($arg eq '-w') {
+ $AlwaysWrite = 1; # update the files even if they havent changed
} elsif ($arg eq '-maketest') {
$MakeTestScript = 1;
} elsif ($arg eq '-C' && defined (my $dir = shift)) {
close IN;
if ($PreviousText eq $TextToWrite) {
print "$file unchanged.\n" if $Verbose;
- return;
+ return unless $AlwaysWrite;
}
}
force_unlink ($file);