summaryrefslogtreecommitdiffstats
path: root/clang/tools/scan-build/Makefile
diff options
context:
space:
mode:
authorJonathan Roelofs <jonathan@codesourcery.com>2015-11-13 20:34:15 +0000
committerJonathan Roelofs <jonathan@codesourcery.com>2015-11-13 20:34:15 +0000
commit814aa25a92091cede237a3f0a9972759651be535 (patch)
treeb0008f04f7087807787f3fdd39e334583cc9e3b0 /clang/tools/scan-build/Makefile
parent1f1c5a7b441eb30592b066f6910eabbeff4e662e (diff)
downloadbcm5719-llvm-814aa25a92091cede237a3f0a9972759651be535.tar.gz
bcm5719-llvm-814aa25a92091cede237a3f0a9972759651be535.zip
[scan-build] Make scan-build work whether it's installed or not
llvm-svn: 253074
Diffstat (limited to 'clang/tools/scan-build/Makefile')
-rw-r--r--clang/tools/scan-build/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/tools/scan-build/Makefile b/clang/tools/scan-build/Makefile
index a9e072aa3c6..4ee949346f8 100644
--- a/clang/tools/scan-build/Makefile
+++ b/clang/tools/scan-build/Makefile
@@ -33,18 +33,18 @@ endif
all:: $(InstallTargets)
-$(ToolDir)/%: % Makefile $(ToolDir)/.dir
+$(ToolDir)/%: bin/% Makefile $(ToolDir)/.dir
$(Echo) "Copying $(notdir $<) to the 'bin' directory..."
$(Verb)cp $< $@
$(Verb)chmod +x $@
-$(LibexecDir)/%: % Makefile $(LibexecDir)/.dir
+$(LibexecDir)/%: libexec/% Makefile $(LibexecDir)/.dir
$(Echo) "Copying $(notdir $<) to the 'libexec' directory..."
$(Verb)cp $< $@
$(Verb)chmod +x $@
-$(ShareDir)/man/man1/%: % Makefile $(ShareDir)/man/man1/.dir
- $(Echo) "Copying $(notdir $<) to the 'share' directory..."
+$(ShareDir)/man/man1/%: man/% Makefile $(ShareDir)/man/man1/.dir
+ $(Echo) "Copying $(notdir $<) to the 'man' directory..."
$(Verb)cp $< $@
$(ShareDir)/scan-build/%: share/% Makefile $(ShareDir)/scan-build/.dir
OpenPOWER on IntegriCloud