summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--clang-tools-extra/clang-tidy/tool/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/clang-tidy/tool/Makefile b/clang-tools-extra/clang-tidy/tool/Makefile
index 1d4d398b09be..8131065b30bb 100644
--- a/clang-tools-extra/clang-tidy/tool/Makefile
+++ b/clang-tools-extra/clang-tidy/tool/Makefile
@@ -38,10 +38,10 @@ $(PROJ_sharedir):
$(Echo) Making install directory: $@
$(Verb) $(MKDIR) $@
-$(DESTFILES): $(SRCFILES)
+$(DESTFILES): $(SRCFILES) $(PROJ_sharedir)
$(PROJ_sharedir)/%.py: $(PROJ_SRC_DIR)/%.py
$(Echo) Installing script file: $(notdir $<)
$(Verb) $(ScriptInstall) $< $(PROJ_sharedir)
-install-local:: $(PROJ_sharedir) $(DESTFILES)
+install-local:: $(DESTFILES)