lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master e653dbd 03/10: Refactor: transplant two recip


From: Greg Chicares
Subject: [lmi-commits] [lmi] master e653dbd 03/10: Refactor: transplant two recipe lines
Date: Tue, 30 Apr 2019 22:17:55 -0400 (EDT)

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

    Refactor: transplant two recipe lines
    
    Writing the mkdir commands just before the cp command makes it plain
    that both directories exist.
---
 install_mingw.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/install_mingw.make b/install_mingw.make
index eb28c0b..9246f5b 100644
--- a/install_mingw.make
+++ b/install_mingw.make
@@ -107,6 +107,8 @@ ad_hoc_dir_exists = \
 
 .PHONY: all
 all: $(file_list)
+       $(MKDIR) --parents $(prefix)
+       $(MKDIR) --parents $(ad_hoc_dir)
        $(CP) --archive $(ad_hoc_dir)/mingw32 $(prefix)
        $(RM) --force --recursive $(ad_hoc_dir)
 
@@ -117,8 +119,6 @@ initial_setup:
        type "$(WGET)" >/dev/null || { printf '%b' $(wget_missing)      && 
false; }
        [ ! -e $(prefix)     ]    || { printf '%b' $(prefix_exists)     && 
false; }
        [ ! -e $(ad_hoc_dir) ]    || { printf '%b' $(ad_hoc_dir_exists) && 
false; }
-       $(MKDIR) --parents $(prefix)
-       $(MKDIR) --parents $(ad_hoc_dir)
 
 BSDTARFLAGS := --keep-old-files
 



reply via email to

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