lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master aa29114 12/18: Improve command to copy compil


From: Greg Chicares
Subject: [lmi-commits] [lmi] master aa29114 12/18: Improve command to copy compiler runtime files
Date: Wed, 29 May 2019 18:49:09 -0400 (EDT)

branch: master
commit aa291140e1abe59112f56cc0f2e103de18081af3
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Improve command to copy compiler runtime files
    
    Made a command more useful:
    - copy file if absent
    + copy file if newer or absent
    as well as faster and terser.
---
 GNUmakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GNUmakefile b/GNUmakefile
index 3304dc6..66780ee 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -244,7 +244,7 @@ MAKETARGET = \
 $(build_dir): $(gpl_files)
        address@hidden -d $@ ] || $(MKDIR) --parents $@
        address@hidden z in $(compiler_runtime_files); \
-         do [ -f $@/$$(basename $$z) ] || $(CP) --archive $$z $@ ; \
+         do $(CP) --archive --update $$z $@ ; \
          done;
        address@hidden(MAKETARGET)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]