[geany/geany-plugins] 3c6df6: cppcheck: fix rule portability

Colomban Wendling git-noreply at xxxxx
Fri Feb 21 16:35:51 UTC 2014


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Fri, 21 Feb 2014 16:35:51 UTC
Commit:      3c6df6909cf87e1cf35efcfa9bf9141d1c64cd9c
             https://github.com/geany/geany-plugins/commit/3c6df6909cf87e1cf35efcfa9bf9141d1c64cd9c

Log Message:
-----------
cppcheck: fix rule portability

`$^` automatic variable is not portable, so explicitly use `$(srcdir)`.

This fixes `make check` with BSD make.


Modified Paths:
--------------
    build/cppcheck.mk

Modified: build/cppcheck.mk
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -5,7 +5,7 @@ check-cppcheck: $(srcdir)
 	$(CPPCHECK) \
 		-q --template gcc --error-exitcode=2 \
 		$(AM_CPPCHECKFLAGS) $(CPPCHECKFLAGS) \
-		$^
+		$(srcdir)
 
 check-local: check-cppcheck
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list