summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-01-11 19:44:23 +0100
committerTor Andersson <tor.andersson@artifex.com>2013-01-11 19:47:34 +0100
commita242b4cf1123910c4dba18c75a77f28c5f6d8f33 (patch)
tree5bc2f1203e01895eec9d6748912b45b5285a7bda /Makefile
parent6579012c39f382c0c818189dbc635d61b369f83c (diff)
downloadmupdf-a242b4cf1123910c4dba18c75a77f28c5f6d8f33.tar.xz
Use $DESTDIR in Makefile install target.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 10b2e5f6..0371def6 100644
--- a/Makefile
+++ b/Makefile
@@ -209,11 +209,11 @@ incdir ?= $(prefix)/include
mandir ?= $(prefix)/share/man
install: $(FITZ_LIB) $(MUVIEW) $(MUDRAW) $(MUTOOL)
- install -d $(bindir) $(libdir) $(incdir) $(mandir)/man1
- install $(FITZ_LIB) $(libdir)
- install fitz/memento.h fitz/fitz.h pdf/mupdf.h xps/muxps.h cbz/mucbz.h $(incdir)
- install $(MUVIEW) $(MUDRAW) $(MUTOOL) $(bindir)
- install $(wildcard apps/man/*.1) $(mandir)/man1
+ install -d $(DESTDIR)$(bindir) $(DESTDIR)$(libdir) $(DESTDIR)$(incdir) $(DESTDIR)$(mandir)/man1
+ install $(FITZ_LIB) $(DESTDIR)$(libdir)
+ install fitz/memento.h fitz/fitz.h pdf/mupdf.h xps/muxps.h cbz/mucbz.h $(DESTDIR)$(incdir)
+ install $(MUVIEW) $(MUDRAW) $(MUBUSY) $(DESTDIR)$(bindir)
+ install $(wildcard apps/man/*.1) $(DESTDIR)$(mandir)/man1
# --- Clean and Default ---