cppcheck: update to 1.47.
This commit is contained in:
parent
9fe143e02d
commit
1118771640
3 changed files with 29 additions and 38 deletions
23
srcpkgs/cppcheck/patches/Makefile-db2man.patch
Normal file
23
srcpkgs/cppcheck/patches/Makefile-db2man.patch
Normal file
|
@ -0,0 +1,23 @@
|
|||
--- Makefile.orig 2011-02-06 12:14:09.000000000 +0100
|
||||
+++ Makefile 2011-02-08 09:44:42.673787912 +0100
|
||||
@@ -15,7 +15,7 @@ endif
|
||||
BIN=$(DESTDIR)$(PREFIX)/bin
|
||||
|
||||
# For 'make man': sudo apt-get install xsltproc docbook-xsl docbook-xml on Linux
|
||||
-DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
|
||||
+DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl
|
||||
XP=xsltproc -''-nonet -''-param man.charmap.use.subset "0"
|
||||
MAN_SOURCE=man/cppcheck.1.xml
|
||||
|
||||
@@ -131,8 +131,9 @@ tags:
|
||||
|
||||
install: cppcheck
|
||||
install -d ${BIN}
|
||||
- install cppcheck ${BIN}
|
||||
-
|
||||
+ install -m755 cppcheck ${BIN}
|
||||
+ install -d $(DESTDIR)$(PREFIX)/share/man/man1
|
||||
+ install -m644 cppcheck.1 $(DESTDIR)$(PREFIX)/share/man/man1
|
||||
|
||||
###### Build
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue