Mercurial > hgrepos > Python2 > PyMuPDF
view mupdf-source/platform/wasm/Makefile @ 38:8934ac156ef5
Allow to build with the PyPI package "clang" instead of "libclang".
1. It seems to be maintained.
2. In the FreeBSD base system there is no pre-built libclang.so. If you
need this library you have to install llvm from ports additionally.
2. On FreeBSD there is no pre-built wheel "libclang" with a packaged
libclang.so.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 23 Sep 2025 10:27:15 +0200 |
| parents | b50eed0cc0ef |
| children |
line wrap: on
line source
default: @npm install -s bash tools/build.sh memento: BUILD=memento \ bash tools/build.sh large: SUFFIX=-large \ DEFINES="-DTOFU -DTOFU_CJK_EXT" \ FEATURES="brotli=no mujs=no extract=no" \ bash tools/build.sh small: SUFFIX=-small \ DEFINES="-DTOFU -DTOFU_CJK_EXT" \ FEATURES="brotli=no mujs=no extract=no xps=no svg=no html=no" \ bash tools/build.sh tiny: SUFFIX=-tiny \ DEFINES="-DTOFU -DTOFU_CJK" \ FEATURES="brotli=no mujs=no extract=no xps=no svg=no html=no" \ bash tools/build.sh clean: rm -f LICENSE rm -rf dist rm -f lib/mupdf-wasm.d.ts rm -rf ../../build/wasm nuke: clean rm -rf node_modules rm -f package-lock.json
