-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathMakefile
More file actions
45 lines (35 loc) · 838 Bytes
/
Makefile
File metadata and controls
45 lines (35 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Utility makefile for python shortcuts
PYTHON := $(shell command -v python3 > /dev/null && echo python3 || echo python)
.phony: run
run:
@$(PYTHON) -m genume
.phony: text
text:
@$(PYTHON) -m genume --text
.phony: sudorun
sudorun:
@sudo $(PYTHON) -m genume
.phony: lint
lint:
@$(PYTHON) -m compileall -fq genume
@pycodestyle --ignore=E501,E402 genume/
@pycodestyle --ignore=E501,E402 bash_helpers/
@echo OK
.phony: git
git:
git remote add upstream https://github.com/CSD-FOSS-Team/genume || true
git remote -v
.phony: update
update: git
git fetch upstream
git rebase -i upstream/master
.phony: contributors
contributors:
./authors.sh > AUTHORS
cp AUTHORS scripts/about/AUTHORS.txt
.phony: install
install:
python3 setup.py install
.phony: help
help:
@echo "Usage: make [run|lint|git|update|contributors|install]"