Customize Cursor's sizes from 'make' command

This commit is contained in:
ful1e5 2021-02-05 19:59:26 +05:30
parent 05ce070192
commit ae0cddf732
2 changed files with 56 additions and 38 deletions

View file

@ -6,6 +6,10 @@ all: clean setup build
.ONESHELL:
SHELL:=/bin/bash
X_SIZES ?=22 24 28 32 40 48 56 64 72 80 88 96
WIN_CANVAS_SIZE ?= 32
WIN_SIZE ?= 24
clean:
@rm -rf applbuild.egg-info build dist
@find -iname "*.pyc" -delete
@ -21,10 +25,10 @@ setup: setup.py
@. venv/bin/activate; python3 setup.py install --record files.txt
build: setup build.py
@. venv/bin/activate; python3 build.py
@. venv/bin/activate; python3 build.py --xsizes $(X_SIZES) --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE)
build_unix: setup build.py
@. venv/bin/activate; python3 build.py unix
@. venv/bin/activate; python3 build.py unix --xsizes $(X_SIZES)
build_windows: setup build.py
@. venv/bin/activate; python3 build.py windows
@. venv/bin/activate; python3 build.py windows --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE)