updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mkdoc-svn / Makefile.patch
blob0ac2af5231f8ffdbf1f9d7be727a8c9ae0ba6f5c
1 --- src/mkdoc/Makefile 2010-08-02 16:01:09.361636372 +0000
2 +++ src/mkdoc-build/Makefile 2010-08-02 17:42:13.081860423 +0000
3 @@ -1,4 +1,4 @@
4 -PREFIX=/usr
5 +PREFIX?=/usr
6 DOCBOOKCSS=/usr/share/xml/docbook/xsl-stylesheets-1.75.2/html/docbook.xsl
7 DOCSRC=doc/top.mkdoc doc/mkdoc.conf
8 MKDOCFLAGS=
9 @@ -7,11 +7,13 @@
11 all: docs
13 -install: htmldoc
14 +install:
15 mkdir -p $(PREFIX)/bin
16 mkdir -p $(PREFIX)/share/mkdoc
17 cp -r src/* $(PREFIX)/share/mkdoc
18 - ln -s $(PREFIX)/share/mkdoc/mkdoc $(PREFIX)/bin/mkdoc
19 + ln -s /usr/share/mkdoc/mkdoc $(PREFIX)/bin/mkdoc
21 +install-doc: htmldoc
22 mkdir -p $(PREFIX)/share/doc/mkdoc
23 cp -r doc/html $(PREFIX)/share/doc/mkdoc