summaryrefslogtreecommitdiff
path: root/build/fixwin32mak.pl
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-08-17 06:46:30 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-08-17 06:46:30 +0000
commitc6a333abdcc508d32d1dbe074f5e61485dc63d0d (patch)
tree343ceabcc85a96155de04c05bbdd6d10e697f0ee /build/fixwin32mak.pl
parent4126997398ecaa8cf2ae1287a8f587dfe3d63013 (diff)
downloadlibapr-c6a333abdcc508d32d1dbe074f5e61485dc63d0d.tar.gz
Win32 VS6.0 projects require the .dep's file, let's touch those as well
when we are syncing the timestamps to the source .dsp. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62188 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/fixwin32mak.pl')
-rw-r--r--build/fixwin32mak.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/fixwin32mak.pl b/build/fixwin32mak.pl
index baf7b11d6..c3f6acf86 100644
--- a/build/fixwin32mak.pl
+++ b/build/fixwin32mak.pl
@@ -57,5 +57,12 @@ print "Processing " . $_ . "\n";
utime $dstat[9], $dstat[9], @onames;
print "Touched datestamp for " . $oname . " in " . $File::Find::dir . "\n";
}
+ $oname =~ s/.mak$/.dep/;
+ @ostat = stat($oname);
+ if ($ostat[9] != $dstat[9]) {
+ @onames = ($oname);
+ utime $dstat[9], $dstat[9], @onames;
+ print "Touched datestamp for " . $oname . " in " . $File::Find::dir . "\n";
+ }
}
}