-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
71 lines (51 loc) · 1.57 KB
/
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#
# Makefile for MoinMoin
#
# location for the wikiconfig.py we use for testing:
export PYTHONPATH=$(PWD)
all:
python setup.py build
test:
py.test --pep8 -rs
dist: clean-devwiki
-rm MANIFEST
python setup.py sdist
docs:
make -C docs html
# this needs the sphinx-autopackage script in the toplevel dir:
apidoc:
sphinx-apidoc -f -o docs/devel/api MoinMoin
interwiki:
wget -U MoinMoin/Makefile -O contrib/interwiki/intermap.txt "http://master19.moinmo.in/InterWikiMap?action=raw"
chmod 664 contrib/interwiki/intermap.txt
pylint:
@pylint --disable-msg=W0142,W0511,W0612,W0613,C0103,C0111,C0302,C0321,C0322 --disable-msg-cat=R MoinMoin
# Automate creation of the support archive from a virtualenv site-packages directory
support:
@python contrib/mksupport/mksupport.py --support
# Create Dist archive with support
supportdist:
@python contrib/mksupport/mksupport.py --supportdist
supporttgz:
@# create the support archive:
@python contrib/mksupport/mksupport.py --supporttgz
# Run local appengine development server
gaeserver:
../google_appengine/dev_appserver.py .
# Upload app to appengine
gaeupload:
../google_appengine/appcfg.py update .
clean: clean-devwiki clean-pyc clean-orig clean-rej
-rm -rf build
clean-devwiki:
-rm -rf wiki/data/content
-rm -rf wiki/data/userprofiles
-rm -rf wiki/index
clean-pyc:
find . -name "*.pyc" -exec rm -rf "{}" \;
clean-orig:
find . -name "*.orig" -exec rm -rf "{}" \;
clean-rej:
find . -name "*.rej" -exec rm -rf "{}" \;
.PHONY: all dist docs interwiki check-tabs pylint \
clean clean-devwiki clean-pyc clean-orig clean-rej