summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-01-24 20:29:45 +0100
committerTor Andersson <tor.andersson@artifex.com>2018-01-31 11:56:59 +0100
commite0573b69bcfe1bcdf0151d59806e1ff67ab53f41 (patch)
tree049d0adc30070cecde9d4b7d9ca1bb2a314f6cb6 /Makefile
parent5d1e60c1337bf5b93044957089ab03a3f3eaf334 (diff)
downloadmupdf-e0573b69bcfe1bcdf0151d59806e1ff67ab53f41.tar.xz
Add 'make tofu' target to build stripped mupdf with no unicode resources.
And 'tofumax' to build without even the base14 PDF fonts.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3db4b73c..3959ccf4 100644
--- a/Makefile
+++ b/Makefile
@@ -517,6 +517,10 @@ debug:
$(MAKE) build=debug
sanitize:
$(MAKE) build=sanitize
+tofu:
+ $(MAKE) OUT=build/tofu CMAP_GEN= FONT_GEN_DROID= FONT_GEN_NOTO= FONT_GEN_HAN= FONT_GEN_SIL= XCFLAGS="-DNOCJK -DTOFU"
+tofumax:
+ $(MAKE) OUT=build/tofumax CMAP_GEN= FONT_GEN= XCFLAGS="-DNOCJK -DTOFU -DTOFU_BASE14"
android: generate
ndk-build -j8 \