-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
24 lines (20 loc) · 819 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.PHONY: all build validate wheels
BLENDER := blender
PIP := pip
TMP_DIR := build
all: wheels build
build: __init__.py importer.py exporter.py chunky.py textures.py utils.py slpp.py blender_manifest.toml \
LICENSE README.md docs/export.md docs/magic.md docs/tts_import.md default_badge.tga default_banner.tga
mkdir $(TMP_DIR); \
cp -r ./wheels $^ $(TMP_DIR); \
cp --parents $^ $(TMP_DIR); \
cd $(TMP_DIR); \
$(BLENDER) --command extension build --verbose; \
cd ..;
cp $(TMP_DIR)/*.zip .; \
rm -rf $(TMP_DIR)
wheels:
$(PIP) download quicktex==0.2.1 --dest ./wheels --only-binary=:all: --python-version=3.11 --platform=manylinux_2_17_x86_64; \
$(PIP) download quicktex==0.2.1 --dest ./wheels --only-binary=:all: --python-version=3.11 --platform=win_amd64;
validate:
$(BLENDER) --command extension validate