summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-12-01 14:59:55 +0100
committerTor Andersson <tor.andersson@artifex.com>2017-12-13 15:01:05 +0100
commit2d6e0ebc7ddf305301e4961b7bc068976100e42f (patch)
treee9379e75739378384abf38c184d4dffadc2359b8 /Makefile
parent634d64e47f82f23bc8cd7a05464a9defc66fee08 (diff)
downloadmupdf-2d6e0ebc7ddf305301e4961b7bc068976100e42f.tar.xz
Put extra apps in separate (non-default) makefile build target.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 114a6eb6..0f0c5b69 100644
--- a/Makefile
+++ b/Makefile
@@ -413,10 +413,10 @@ MUVIEW_EXE := $(MUVIEW_X11_EXE) $(MUVIEW_WIN32_EXE) $(MUVIEW_GLUT_EXE)
MUVIEW_CURL_EXE := $(MUVIEW_X11_CURL_EXE) $(MUVIEW_WIN32_CURL_EXE)
INSTALL_APPS := $(MUTOOL_EXE) $(MUVIEW_EXE)
-INSTALL_APPS += $(MURASTER_EXE)
-INSTALL_APPS += $(MUVIEW_CURL_EXE)
-INSTALL_APPS += $(MUJSTEST_EXE)
-INSTALL_APPS += $(MJSGEN_EXE)
+EXTRA_APPS += $(MURASTER_EXE)
+EXTRA_APPS += $(MUVIEW_CURL_EXE)
+EXTRA_APPS += $(MUJSTEST_EXE)
+EXTRA_APPS += $(MJSGEN_EXE)
# --- Examples ---
@@ -454,9 +454,11 @@ mandir ?= $(prefix)/share/man
docdir ?= $(prefix)/share/doc/mupdf
third: $(THIRD_LIB)
-extra: $(CURL_LIB) $(GLUT_LIB)
+extra-libs: $(CURL_LIB) $(GLUT_LIB)
libs: $(INSTALL_LIBS)
apps: $(INSTALL_APPS)
+extra-apps: $(EXTRA_APPS)
+extra: extra-libs extra-apps
install: libs apps
install -d $(DESTDIR)$(incdir)/mupdf