Debian Codegraph @

Makefile

raw
1 all:
2 @echo "Targets:"
3 @echo " clean"
4 @echo " docs"
5
6
7 clean:
8 pip cache purge
9 rm -rf dist
10 make -C docs clean
11
12 .PHONY: docs
13
14 docs:
15 $(MAKE) -C docs html
16
17 style-check:
18 @(tools/style-format.sh \
19 $$(git ls-tree -r --name-only HEAD | egrep '\.(c|h|py)$$') )
20
21 style-check-changed:
22 @(tools/style-format.sh \
23 $$( (git diff --name-only ; git diff --name-only --staged) | egrep '\.(c|h|py)$$'))
24
25 style-fix:
26 @(tools/style-format.sh --fix \
27 $$(git ls-tree -r --name-only HEAD | egrep '\.(c|h|py)$$'))
28
29 style-fix-changed:
30 @(tools/style-format.sh --fix \
31 $$( (git diff --name-only ; git diff --name-only --staged) | egrep '\.(c|h|py)$$'))