diff --git a/srcpkgs/cppcheck/template b/srcpkgs/cppcheck/template index 1d6d8a84b32..b7ea60a8982 100644 --- a/srcpkgs/cppcheck/template +++ b/srcpkgs/cppcheck/template @@ -1,7 +1,7 @@ # Template file for 'cppcheck' pkgname=cppcheck version=1.65 -revision=1 +revision=2 hostmakedepends="libxslt docbook-xsl" short_desc="Static analysis of C/C++ code" maintainer="Juan RP " @@ -13,10 +13,11 @@ do_fetch() { } do_build() { + make CFGDIR=/usr/share/cppcheck/cfg make ${makejobs} DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl all man } do_install() { - make DESTDIR=${DESTDIR} install + make DESTDIR=${DESTDIR} CFGDIR=/usr/share/cppcheck/cfg install vinstall cppcheck.1 644 usr/share/man/man1 }