diff --git a/tools/scan-build/Makefile b/tools/scan-build/Makefile
index 4ee949346f8ff77bf319d8d48817a1c3b16dd6d8..23aa19882a527074adc2328f5eb52fe5f4241770 100644
--- a/tools/scan-build/Makefile
+++ b/tools/scan-build/Makefile
@@ -47,7 +47,7 @@ $(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
+$(ShareDir)/scan-build/%: share/scan-build/% Makefile $(ShareDir)/scan-build/.dir
 	$(Echo) "Copying $(notdir $<) to the 'share' directory..."
 	$(Verb)cp $< $@