mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-29 14:25:25 -04:00
27 lines
634 B
Makefile
27 lines
634 B
Makefile
# Usage:
|
|
# make NAME=CURSOR_NAME # build cursor
|
|
# make link NAME=CURSOR_NAME #for generating cursor X11 and Window both
|
|
# make clean # remove ALL cursors and objects
|
|
|
|
.DEFAULT_GOAL := requir
|
|
|
|
.PHONY := requir
|
|
requir:
|
|
@echo "installing Requirements..."
|
|
pip3 install -r requirements.txt
|
|
|
|
.PHONY := build
|
|
build:
|
|
@echo "Building $(NAME)..."
|
|
python3 render-cursors.py ./src/$(NAME)/source-cursors.svg -o -a --name $(NAME)
|
|
./tweak.sh $(NAME)
|
|
.PHONY := link
|
|
link:
|
|
./x11-make.sh $(NAME)
|
|
cp src/$(NAME)/*.theme $(NAME)/out/X11/$(NAME)
|
|
./w32-make.sh $(NAME)
|
|
|
|
.PHONY := clean
|
|
clean:
|
|
@echo "Cleaning Up..."
|
|
rm -rf ./Bibata_*
|