From e4ef45f0b7454a8df22d4e80406f2448cd5757fc Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 18 Jun 2014 09:33:13 +0000 Subject: [PATCH] Add install rule --- doc/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) 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/ + -- 1.7.10.4