From: Adam Dickmeiss Date: Wed, 18 Jun 2014 09:33:13 +0000 (+0000) Subject: Add install rule X-Git-Tag: v0.2~3 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=e4ef45f0b7454a8df22d4e80406f2448cd5757fc;p=mp-xquery-moved-to-github.git Add install rule --- diff --git a/doc/Makefile b/doc/Makefile index 697a7e8..a63b692 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -2,6 +2,8 @@ .PHONY: check all .SUFFIXES: .3mp .xml .1 +prefix = /usr + XSLTPROC_COMPILE = xsltproc --xinclude -path "." HTML_COMPILE = $(XSLTPROC_COMPILE) id.htmlhelp.xsl MAN_COMPILE = $(XSLTPROC_COMPILE) id.man.xsl @@ -31,3 +33,7 @@ distclean: clean check: all +install: + mkdir -p $(DESTDIR)$(prefix)/share/man/man3 + cp *.3mp $(DESTDIR)$(prefix)/share/man/man3/ +