forked from rebase-helper/rebase-helper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
40 lines (27 loc) · 965 Bytes
/
Makefile
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
all: help
help:
@echo "Usage: make <target>"
@echo
@echo "Available targets are:"
@echo " help show this text"
@echo " clean remove python bytecode and temp files"
@echo " install install program on current system"
@echo " log prepare changelog for spec file"
@echo " source create source tarball"
@echo " test run tests/run_tests.py"
@echo " html create HTML documentation"
clean:
@python setup.py clean
rm -f MANIFEST
rm -rf build/html
find . -\( -name "*.pyc" -o -name '*.pyo' -o -name "*~" -\) -delete
install:
@python setup.py install
log:
@(LC_ALL=C date +"* %a %b %e %Y `git config --get user.name` <`git config --get user.email`> - VERSION"; git log --pretty="format:- %s (%an)" | cat) | less
source: clean
@python setup.py sdist
html:
make -f Makefile.docs html
#test:
# cd tests; ./run_tests.py