diff options
author | Tor Andersson <tor@ghostscript.com> | 2011-02-02 16:13:35 +0000 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2011-02-02 16:13:35 +0000 |
commit | 8a4241e2fd1321a8d549a372dd163beff78a7047 (patch) | |
tree | da647b9781890de12dbc002bdf38de90b4a583d0 /Makefile | |
parent | 333860c5c9c4539f36d3bd0716bc696a6ebddd0f (diff) | |
download | mupdf-8a4241e2fd1321a8d549a372dd163beff78a7047.tar.xz |
Use BINDIR, LIBDIR and INCDIR variables for installation directories instead of hard coding the use of /bin etc.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -377,8 +377,12 @@ clean: nuke: rm -rf build +BINDIR ?= $(prefix)/bin +LIBDIR ?= $(prefix)/lib +INCDIR ?= $(prefix)/include + install: $(OBJDIR) $(GENDIR) $(MUPDF_LIB) $(APPS) - install -d $(prefix)/bin $(prefix)/lib $(prefix)/include - install $(APPS) $(prefix)/bin - install $(MUPDF_LIB) $(prefix)/lib - install $(MUPDF_HDR) $(prefix)/include + install -d $(BINDIR) $(LIBDIR) $(INCDIR) + install $(APPS) $(BINDIR) + install $(MUPDF_LIB) $(LIBDIR) + install $(MUPDF_HDR) $(INCDIR) |