[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)
- [lmi-commits] [lmi] master a4ee62f 07/18: Suppress certain shellcheck warnings, (continued)
- [lmi-commits] [lmi] master a4ee62f 07/18: Suppress certain shellcheck warnings, Greg Chicares, 2019/05/29
- [lmi-commits] [lmi] master b25a732 06/18: Resolve all shellcheck "SC2038" warnings, Greg Chicares, 2019/05/29
- [lmi-commits] [lmi] master d52c37f 09/18: Resolve a shellcheck "SC2034" warning, Greg Chicares, 2019/05/29
- [lmi-commits] [lmi] master ee293d1 10/18: Update certain URLs, Greg Chicares, 2019/05/29
- [lmi-commits] [lmi] master 19c0946 13/18: Copy compiler runtime files in one makefile target only, Greg Chicares, 2019/05/29
- [lmi-commits] [lmi] master 3873eb0 15/18: Fix defect committed 20190521T2101: tested 'md5sums' in wrong directory, Greg Chicares, 2019/05/29
- [lmi-commits] [lmi] master c40f2f8 14/18: Routinely run shellcheck, Greg Chicares, 2019/05/29
- [lmi-commits] [lmi] master aebe56b 17/18: Don't copy compiler runtime files to build directory, Greg Chicares, 2019/05/29
- [lmi-commits] [lmi] master 9b9978f 16/18: Avoid 'ls --classify', Greg Chicares, 2019/05/29
- [lmi-commits] [lmi] master f4cb231 08/18: Remove space after '#!', Greg Chicares, 2019/05/29
- [lmi-commits] [lmi] master aa29114 12/18: Improve command to copy compiler runtime files,
Greg Chicares <=
- [lmi-commits] [lmi] master f760e3d 11/18: Fix defect introduced 20190426T2304Z: wrong variable used, Greg Chicares, 2019/05/29
- [lmi-commits] [lmi] master b30b5db 18/18: Make 'custom_tools' when rebuilding from scratch, Greg Chicares, 2019/05/29
- [lmi-commits] [lmi] master 23ef51a 05/18: Resolve a shellcheck "SC2166" warning, Greg Chicares, 2019/05/29