Changeset 2492 for box/trunk/infrastructure
- Timestamp:
- 03/04/2009 01:17:35 (3 years ago)
- File:
-
- 1 edited
-
box/trunk/infrastructure/makeparcels.pl.in (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/infrastructure/makeparcels.pl.in
r2475 r2492 24 24 } 25 25 return 0; 26 } 27 28 my $copy_command = "cp -p"; 29 30 if ($build_os eq 'CYGWIN') 31 { 32 $copy_command = "cp -pu"; # faster 26 33 } 27 34 … … 169 176 $dir/$name$exeext: release/bin/$name/$name$exeext 170 177 mkdir -p $dir 171 cp -prelease/bin/$name/$name$exeext $dir178 $copy_command release/bin/$name/$name$exeext $dir 172 179 173 180 .PHONY: release/bin/$name/$name$exeext … … 193 200 { 194 201 print MAKE "\ttest -r $fullpath " . 195 "&& cp -p$fullpath $dir || true\n";202 "&& $copy_command $fullpath $dir || true\n"; 196 203 } 197 204 else 198 205 { 199 print MAKE "\t cp -p$fullpath $dir\n";206 print MAKE "\t$copy_command $fullpath $dir\n"; 200 207 } 201 208 … … 209 216 $dir/${name}.gz: docs/man/${name}.gz 210 217 mkdir -p $dir 211 cp -pdocs/man/${name}.gz $dir218 $copy_command docs/man/${name}.gz $dir 212 219 213 220 EOF
Note: See TracChangeset
for help on using the changeset viewer.
