24 lines
715 B
Diff
24 lines
715 B
Diff
|
--- 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
|
||
|
|