|
427 | 427 | $[install_lib_dir]/$[get_dllname $[TARGET]].$[dlllib] : $[ODIR]/$[get_dllname $[TARGET]].$[dlllib] |
428 | 428 | #define local $[get_dllname $[TARGET]].$[dlllib] |
429 | 429 | #define dest $[install_lib_dir] |
430 | | -$[TAB] cp -f $[ODIR]/$[local] $[dest]/ |
| 430 | +$[TAB] cp -p -f $[ODIR]/$[local] $[dest]/ |
431 | 431 | #endif |
432 | 432 |
|
433 | 433 | $[install_lib_dir]/$[get_dllname $[TARGET]].lib : $[ODIR]/$[get_dllname $[TARGET]].lib |
434 | 434 | #define local $[get_dllname $[TARGET]].lib |
435 | 435 | #define dest $[install_lib_dir] |
436 | | -$[TAB] cp -f $[ODIR]/$[local] $[dest]/ |
| 436 | +$[TAB] cp -p -f $[ODIR]/$[local] $[dest]/ |
437 | 437 |
|
438 | 438 | #if $[and $[build_dlls],$[build_pdbs]] |
439 | 439 | $[install_lib_dir]/$[get_dllname $[TARGET]].pdb : $[ODIR]/$[get_dllname $[TARGET]].pdb |
440 | 440 | #define local $[get_dllname $[TARGET]].pdb |
441 | 441 | #define dest $[install_lib_dir] |
442 | | -$[TAB] cp -f $[ODIR]/$[local] $[dest]/ |
| 442 | +$[TAB] cp -p -f $[ODIR]/$[local] $[dest]/ |
443 | 443 | #endif |
444 | 444 |
|
445 | 445 | #if $[igatescan] |
|
458 | 458 | $[igatedb:$[ODIR]/%=$[install_igatedb_dir]/%] : $[igatedb] |
459 | 459 | #define local $[igatedb] |
460 | 460 | #define dest $[install_igatedb_dir] |
461 | | -$[TAB] cp -f $[local] $[dest]/ |
| 461 | +$[TAB] cp -p -f $[local] $[dest]/ |
462 | 462 |
|
463 | 463 | // We have to split this out as a separate rule to properly support |
464 | 464 | // parallel make. |
|
610 | 610 | $[install_lib_dir]/$[get_dllname $[TARGET]].lib : $[ODIR]/$[get_dllname $[TARGET]].lib |
611 | 611 | #define local $[get_dllname $[TARGET]].lib |
612 | 612 | #define dest $[install_lib_dir] |
613 | | -$[TAB] cp -f $[ODIR]/$[local] $[dest]/ |
| 613 | +$[TAB] cp -p -f $[ODIR]/$[local] $[dest]/ |
614 | 614 |
|
615 | 615 | #end static_lib_target ss_lib_target |
616 | 616 |
|
|
645 | 645 | #define local $[TARGET] |
646 | 646 | #define dest $[install_bin_dir] |
647 | 647 | $[install_bin_dir]/$[TARGET] : $[ODIR]/$[TARGET] |
648 | | -$[TAB] cp -f $[ODIR]/$[local] $[dest]/ |
| 648 | +$[TAB] cp -p -f $[ODIR]/$[local] $[dest]/ |
649 | 649 |
|
650 | 650 | #end sed_bin_target |
651 | 651 |
|
|
699 | 699 | $[install_bin_dir]/$[TARGET].exe : $[ODIR]/$[TARGET].exe |
700 | 700 | #define local $[TARGET].exe |
701 | 701 | #define dest $[install_bin_dir] |
702 | | -$[TAB] cp -f $[ODIR]/$[local] $[dest]/ |
| 702 | +$[TAB] cp -p -f $[ODIR]/$[local] $[dest]/ |
703 | 703 |
|
704 | 704 | #if $[build_pdbs] |
705 | 705 | $[install_bin_dir]/$[TARGET].pdb : $[ODIR]/$[TARGET].pdb |
706 | 706 | #define local $[TARGET].pdb |
707 | 707 | #define dest $[install_bin_dir] |
708 | | -$[TAB] cp -f $[ODIR]/$[local] $[dest]/ |
| 708 | +$[TAB] cp -p -f $[ODIR]/$[local] $[dest]/ |
709 | 709 | #endif |
710 | 710 |
|
711 | 711 | #if $[bin_postprocess_target] |
|
717 | 717 | $[TAB] $[bin_postprocess_cmd] $[bin_postprocess_arg1] $[input_exe] $[bin_postprocess_arg2] $[output_exe] |
718 | 718 |
|
719 | 719 | $[install_bin_dir]/$[bin_postprocess_target].exe : $[output_exe] |
720 | | -$[TAB] cp -f $[output_exe] $[install_bin_dir]/ |
| 720 | +$[TAB] cp -p -f $[output_exe] $[install_bin_dir]/ |
721 | 721 | #endif |
722 | 722 |
|
723 | 723 | #end bin_target |
|
850 | 850 | $[install_bin_dir]/$[file] : $[file] |
851 | 851 | #define local $[file] |
852 | 852 | #define dest $[install_bin_dir] |
853 | | -$[TAB] chmod +x $[local]; cp -f $[local] $[dest]/ |
| 853 | +$[TAB] chmod +x $[local]; cp -p -f $[local] $[dest]/ |
854 | 854 | #end file |
855 | 855 |
|
856 | 856 | #foreach file $[install_headers] |
857 | 857 | $[install_headers_dir]/$[file] : $[file] |
858 | 858 | #define local $[file] |
859 | 859 | #define dest $[install_headers_dir] |
860 | | -$[TAB] cp -f $[local] $[dest]/ |
| 860 | +$[TAB] cp -p -f $[local] $[dest]/ |
861 | 861 | #end file |
862 | 862 |
|
863 | 863 | #foreach file $[install_parser_inc] |
|
866 | 866 | #define local $[notdir $[file]] |
867 | 867 | #define dest $[install_parser_inc_dir]/$[dir $[file]] |
868 | 868 | $[TAB] mkdir -p $[install_parser_inc_dir]/$[dir $[file]] || echo |
869 | | -$[TAB] cp -f $[local] $[dest] |
| 869 | +$[TAB] cp -p -f $[local] $[dest] |
870 | 870 | #else |
871 | 871 | $[install_parser_inc_dir]/$[file] : $[file] |
872 | 872 | #define local $[file] |
873 | 873 | #define dest $[install_parser_inc_dir] |
874 | | -$[TAB] cp -f $[local] $[dest]/ |
| 874 | +$[TAB] cp -p -f $[local] $[dest]/ |
875 | 875 | #endif |
876 | 876 | #end file |
877 | 877 |
|
878 | 878 | #foreach file $[install_data] |
879 | 879 | $[install_data_dir]/$[file] : $[file] |
880 | 880 | #define local $[file] |
881 | 881 | #define dest $[install_data_dir] |
882 | | -$[TAB] cp -f $[local] $[dest]/ |
| 882 | +$[TAB] cp -p -f $[local] $[dest]/ |
883 | 883 | #end file |
884 | 884 |
|
885 | 885 | #foreach file $[install_config] |
886 | 886 | $[install_config_dir]/$[file] : $[file] |
887 | 887 | #define local $[file] |
888 | 888 | #define dest $[install_config_dir] |
889 | | -$[TAB] cp -f $[local] $[dest]/ |
| 889 | +$[TAB] cp -p -f $[local] $[dest]/ |
890 | 890 | #end file |
891 | 891 |
|
892 | 892 | #foreach file $[install_py] |
893 | 893 | $[install_py_dir]/$[file] : $[file] |
894 | 894 | #define local $[file] |
895 | 895 | #define dest $[install_py_dir] |
896 | | -$[TAB] cp -f $[local] $[dest]/ |
| 896 | +$[TAB] cp -p -f $[local] $[dest]/ |
897 | 897 | #end file |
898 | 898 |
|
899 | 899 | #if $[install_py] |
|
1049 | 1049 | $[install_headers_dir]/$[CONFIG_HEADER] : $[CONFIG_HEADER] |
1050 | 1050 | #define local $[CONFIG_HEADER] |
1051 | 1051 | #define dest $[install_headers_dir] |
1052 | | -$[TAB] cp -f $[local] $[dest]/ |
| 1052 | +$[TAB] cp -p -f $[local] $[dest]/ |
1053 | 1053 | #endif |
1054 | 1054 |
|
1055 | 1055 | // Finally, the rules to freshen the Makefile itself. |
|
0 commit comments