summaryrefslogtreecommitdiff
path: root/build/fixwin32mak.pl
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2001-08-17 01:38:51 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2001-08-17 01:38:51 +0000
commitbbec42b507ea231022958875c0504daa96798db0 (patch)
tree36bc948f968834fdaeb6258a3ac670d1da1d269d /build/fixwin32mak.pl
parentb9ab4e2e76783ea99dc7699f46936600bb74c278 (diff)
downloadapr-bbec42b507ea231022958875c0504daa96798db0.tar.gz
Keep the date of the exported makefile consistent with the .dsp date.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62179 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/fixwin32mak.pl')
-rw-r--r--build/fixwin32mak.pl9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/fixwin32mak.pl b/build/fixwin32mak.pl
index d7ca5bd15..baf7b11d6 100644
--- a/build/fixwin32mak.pl
+++ b/build/fixwin32mak.pl
@@ -48,5 +48,14 @@ print "Processing " . $_ . "\n";
else {
unlink $tname;
}
+ $dname = $oname;
+ $dname =~ s/.mak$/.dsp/;
+ @dstat = stat($dname);
+ @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";
+ }
}
}