forked from ESDAnalysisTools/ThunderStorm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
35 lines (27 loc) · 811 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
DirName=$(shell pwd)
Name=$(notdir $(DirName))
all :
echo
clean :
find ./ -name "*.pyc" -exec rm -f {} \;
find ./ -name "*~" -exec rm -f {} \;
find ./ -name "*.pyo" -exec rm -f {} \;
find ./ -name "*.bak" -exec rm -f {} \;
rm -f MANIFEST
rm -rf dist
rm -rf build
./VERSION-GEN
archive : clean
cd ../ && tar -cjf $(Name).tar.bz2 $(Name)
archivegz : clean
cd ../ && tar -czf $(Name).tar.gz $(Name)
zip_archive: clean
cd ../ && zip -9 -r $(Name).zip $(Name) -x "$(Name)/.hg/*" "$(Name)/.hgignore" "$(Name)/.git/*" "$(Name)/.gitignore" "$(Name)/.hgtags"
sdist : clean
python setup.py sdist
apidoc: clean
export PYTHONPATH=`pwd`:$PYTHONPATH
epydoc -v --docformat="restructuredtext en" \
--graph all thunderstorm -o ./doc/api_doc
install: clean
python setup.py install --home=~