summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-07-05 10:39:08 +0200
committerTor Andersson <tor.andersson@artifex.com>2013-07-11 13:18:29 +0200
commit61db7ce516a3232836d655c81deab0147ceea564 (patch)
tree58ebc0320701dfd3013533cd479ead42563b8be3
parent8f80181402a351c208e485103d36f4d9a2d5726f (diff)
downloadmupdf-61db7ce516a3232836d655c81deab0147ceea564.tar.xz
Add documentation files to make install target.
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index be23c7b3..6f2dbbc1 100644
--- a/Makefile
+++ b/Makefile
@@ -267,6 +267,7 @@ bindir ?= $(prefix)/bin
libdir ?= $(prefix)/lib
incdir ?= $(prefix)/include
mandir ?= $(prefix)/share/man
+docdir ?= $(prefix)/share/doc/mupdf
third: $(THIRD_LIBS)
libs: $(INSTALL_LIBS)
@@ -289,6 +290,9 @@ install: libs apps
install -d $(DESTDIR)$(mandir)/man1
install docs/man/*.1 $(DESTDIR)$(mandir)/man1
+ install -d $(DESTDIR)$(docdir)
+ install README COPYING CHANGES docs/*.txt $(DESTDIR)$(docdir)
+
# --- Clean and Default ---
tags: $(shell find include source -name '*.[ch]')