-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile
executable file
·49 lines (39 loc) · 942 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
41
42
43
44
45
46
47
48
49
#!/usr/bin/make -f
# -*- mode:makefile -*-
URL_AUTH=svn+ssh://${ALIOTH_USER}@svn.debian.org/svn/python-modules/packages/doublex/trunk
URL_ANON=svn://svn.debian.org/svn/python-modules/packages/doublex/trunk
[email protected]:DavidVilla/python-doublex.git
debian:
if [ ! -z "$${ALIOTH_USER}" ]; then \
svn co ${URL_AUTH} -N; \
else \
svn co ${URL_ANON} -N; \
fi
mv trunk/.svn .
rmdir trunk
svn up debian
.PHONY: docs doctests
docs:
$(MAKE) -C docs
doctests:
$(MAKE) -C doctests
push:
git push
git push --tags
git push ${BITBUCKET}
git push --tags ${BITBUCKET}
pypi-release:
$(RM) -f dist
python3 setup.py sdist
twine upload dist/*
clean:
find . -name *.pyc -delete
find . -name *.pyo -delete
find . -name *~ -delete
$(RM) -r *.egg-info MANIFEST
$(RM) -r dist build *.egg-info .tox
$(RM) -r slides/reveal.js
$(MAKE) -C docs clean
$(MAKE) -C doctests clean
vclean: clean
$(RM) -r .svn debian