Bibata_Cursor/Makefile

28 lines
634 B
Makefile
Raw Normal View History

2019-11-16 23:09:18 -05:00
# Usage:
2019-11-19 02:06:47 -05:00
# make NAME=CURSOR_NAME # build cursor
# make link NAME=CURSOR_NAME #for generating cursor X11 and Window both
2019-11-16 23:09:18 -05:00
# make clean # remove ALL cursors and objects
2019-11-19 02:36:14 -05:00
.DEFAULT_GOAL := requir
2019-11-17 05:54:24 -05:00
2019-11-19 02:36:14 -05:00
.PHONY := requir
requir:
2019-11-17 05:54:24 -05:00
@echo "installing Requirements..."
2019-11-17 06:24:52 -05:00
pip3 install -r requirements.txt
2019-11-23 23:55:24 -05:00
2019-11-20 01:51:38 -05:00
.PHONY := build
2019-11-19 02:36:14 -05:00
build:
2019-11-19 02:06:47 -05:00
@echo "Building $(NAME)..."
python3 render-cursors.py ./src/$(NAME)/source-cursors.svg -o -a --name $(NAME)
2019-11-19 02:25:02 -05:00
./tweak.sh $(NAME)
2019-11-19 02:06:47 -05:00
.PHONY := link
link:
./x11-make.sh $(NAME)
cp src/$(NAME)/*.theme $(NAME)/out/X11/$(NAME)
./w32-make.sh $(NAME)
2019-11-17 04:59:49 -05:00
2019-11-19 02:06:47 -05:00
.PHONY := clean
2019-11-16 23:09:18 -05:00
clean:
@echo "Cleaning Up..."
2019-11-23 22:56:10 -05:00
rm -rf ./Bibata_*