mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-28 14:04:45 -04:00
24 lines
No EOL
455 B
Makefile
24 lines
No EOL
455 B
Makefile
|
|
all: clean setup build
|
|
|
|
.PHONY: all
|
|
|
|
.ONESHELL:
|
|
SHELL:=/bin/bash
|
|
|
|
clean:
|
|
@rm -rf applbuild.egg-info build dist
|
|
@find -iname "*.pyc" -delete
|
|
|
|
# Removing setup.py package files if installed
|
|
@if [ -f "files.txt" ]; then
|
|
@xargs rm -rf < files.txt
|
|
@rm -rf files.txt
|
|
@fi
|
|
|
|
setup: setup.py
|
|
@test -d venv || virtualenv venv
|
|
@. venv/bin/activate; python3 setup.py install --record files.txt
|
|
|
|
build: setup build.py
|
|
@. venv/bin/activate; python3 build.py
|