lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 995bf3e 2/6: Ensure existence of directory re


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 995bf3e 2/6: Ensure existence of directory required by 'hooks/pre-commit'
Date: Sun, 19 May 2019 19:29:18 -0400 (EDT)

branch: master
commit 995bf3e27f92cf4aca0516820795f968b485bf75
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 cf66057..e1a1e69 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -387,6 +387,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]