lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] odd/multiarch 31bf83e 2/2: Ensure existence of direc


From: Greg Chicares
Subject: [lmi-commits] [lmi] odd/multiarch 31bf83e 2/2: Ensure existence of directory required by 'hooks/pre-commit'
Date: Sun, 19 May 2019 10:38:05 -0400 (EDT)

branch: odd/multiarch
commit 31bf83ee3fac8c32cda029ecf3eee1d381211fc3
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Ensure existence of directory required by 'hooks/pre-commit'
    
    Added a command to create $localbindir, if it doesn't already exist,
    so that the pre-commit hook runs even if lmi has not yet been built.
---
 GNUmakefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/GNUmakefile b/GNUmakefile
index 115a421..4162687 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -389,6 +389,7 @@ TEST_CODING_RULES := $(build_dir)/test_coding_rules$(EXEEXT)
 .PHONY: custom_tools
 custom_tools:
        @$(MAKE) --file=$(this_makefile) --directory=$(srcdir) 
test_coding_rules$(EXEEXT)
+       @$(MKDIR) --parents $(localbindir)
        @$(CP) --preserve --update $(TEST_CODING_RULES) $(localbindir)
 
 
################################################################################



reply via email to

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