comparison mupdf-source/platform/wasm/Makefile @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 default:
2 @npm install -s
3 bash tools/build.sh
4
5 memento:
6 BUILD=memento \
7 bash tools/build.sh
8
9 large:
10 SUFFIX=-large \
11 DEFINES="-DTOFU -DTOFU_CJK_EXT" \
12 FEATURES="brotli=no mujs=no extract=no" \
13 bash tools/build.sh
14
15 small:
16 SUFFIX=-small \
17 DEFINES="-DTOFU -DTOFU_CJK_EXT" \
18 FEATURES="brotli=no mujs=no extract=no xps=no svg=no html=no" \
19 bash tools/build.sh
20
21 tiny:
22 SUFFIX=-tiny \
23 DEFINES="-DTOFU -DTOFU_CJK" \
24 FEATURES="brotli=no mujs=no extract=no xps=no svg=no html=no" \
25 bash tools/build.sh
26
27 clean:
28 rm -f LICENSE
29 rm -rf dist
30 rm -f lib/mupdf-wasm.d.ts
31 rm -rf ../../build/wasm
32
33 nuke: clean
34 rm -rf node_modules
35 rm -f package-lock.json