annotate Makefile @ 6111:1fdd537e9d83

SubProcess: reimplement exec_cmd subclassing Popen and overriding some methods isn't pretty. the code we have was written for py 2.4 or so and the py 2.7 Popen looked quite different. this way with the timer should be less problematic.
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 06 Sep 2016 04:39:28 +0200
parents cfbaa4014bae
children
rev   line source
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
1 #
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
2 # Makefile for MoinMoin
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
3 #
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
4
1598
dec11b291ba5 move the wikiconfig.py we use for testing out of the way
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1056
diff changeset
5 # location for the wikiconfig.py we use for testing:
4096
30547727b678 fixed Makefile:pagepacks - the test wikiconfig moved to MoinMoin/_tests/
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 4039
diff changeset
6 export PYTHONPATH=$(PWD)
1598
dec11b291ba5 move the wikiconfig.py we use for testing out of the way
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1056
diff changeset
7
1603
767109c48208 rearrange testing setup, make moin.py runnable from toplevel dir
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1598
diff changeset
8 testwiki := ./tests/wiki
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
9 share := ./wiki
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
10
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
11 all:
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
12 python setup.py build
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
13
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
14 install-docs:
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
15 -mkdir build
4475
28fcb65ebec8 fixed make install-docs
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 4474
diff changeset
16 wget -U MoinMoin/Makefile -O build/INSTALL.html "http://master19.moinmo.in/InstallDocs?action=print"
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
17 sed \
5966
f4028129b8cb fix install docs html postprocessing, master site now uses /moin_static19 as url_prefix_static
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 5960
diff changeset
18 -e 's|http://master19.moinmo.in/moin_static..|../MoinMoin/web/static/htdocs|g' \
f4028129b8cb fix install docs html postprocessing, master site now uses /moin_static19 as url_prefix_static
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 5960
diff changeset
19 -e 's|http://static.moinmo.in/moin_static..|../MoinMoin/web/static/htdocs|g' \
f4028129b8cb fix install docs html postprocessing, master site now uses /moin_static19 as url_prefix_static
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 5960
diff changeset
20 -e 's|/moin_static..|../MoinMoin/web/static/htdocs|g' \
5760
b43061e7c4d6 fixed install-docs sed commands (thanks to Sam T., GCI 2010)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 5303
diff changeset
21 -e 's|/InstallDocs#|#|g' \
b43061e7c4d6 fixed install-docs sed commands (thanks to Sam T., GCI 2010)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 5303
diff changeset
22 -e 's|/InstallDocs/QuickInstall#qdlinux|#InstallDocs.2BAC8-QuickInstall.2BAC8-Linux.Linux:_Detailed_Quick_Installation|g' \
b43061e7c4d6 fixed install-docs sed commands (thanks to Sam T., GCI 2010)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 5303
diff changeset
23 -e 's|/InstallDocs/QuickInstall#qdmac|#InstallDocs.2BAC8-QuickInstall.2BAC8-MacOSX.Mac:_Detailed_Quick_Installation|g' \
b43061e7c4d6 fixed install-docs sed commands (thanks to Sam T., GCI 2010)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 5303
diff changeset
24 -e 's|/InstallDocs/QuickInstall#qdwindows|#InstallDocs.2BAC8-QuickInstall.2BAC8-Windows.Windows:__Detailed_Quick_Installation|g' \
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
25 build/INSTALL.html >docs/INSTALL.html
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
26 -rm build/INSTALL.html
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
27
4474
aa929a72715d replace master18 URLs by master19
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 4096
diff changeset
28 wget -U MoinMoin/Makefile -O build/UPDATE.html "http://master19.moinmo.in/HelpOnUpdating?action=print"
3688
c19b7a3d7539 Makefile: added fetching UPDATE instructions
Reimar Bauer <rb.proj AT googlemail DOT com>
parents: 3681
diff changeset
29 sed \
5966
f4028129b8cb fix install docs html postprocessing, master site now uses /moin_static19 as url_prefix_static
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 5960
diff changeset
30 -e 's|http://master19.moinmo.in/moin_static..|../MoinMoin/web/static/htdocs|g' \
f4028129b8cb fix install docs html postprocessing, master site now uses /moin_static19 as url_prefix_static
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 5960
diff changeset
31 -e 's|http://static.moinmo.in/moin_static..|../MoinMoin/web/static/htdocs|g' \
f4028129b8cb fix install docs html postprocessing, master site now uses /moin_static19 as url_prefix_static
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 5960
diff changeset
32 -e 's|/moin_static..|../MoinMoin/web/static/htdocs|g' \
5760
b43061e7c4d6 fixed install-docs sed commands (thanks to Sam T., GCI 2010)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 5303
diff changeset
33 -e 's|href=./MoinMoin|href=\"http://master19.moinmo.in/MoinMoin|g' \
b43061e7c4d6 fixed install-docs sed commands (thanks to Sam T., GCI 2010)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 5303
diff changeset
34 -e 's|href=./EditedSystemPages|href=\"http://master19.moinmo.in/EditedSystemPages|g' \
3688
c19b7a3d7539 Makefile: added fetching UPDATE instructions
Reimar Bauer <rb.proj AT googlemail DOT com>
parents: 3681
diff changeset
35 build/UPDATE.html >docs/UPDATE.html
c19b7a3d7539 Makefile: added fetching UPDATE instructions
Reimar Bauer <rb.proj AT googlemail DOT com>
parents: 3681
diff changeset
36 -rm build/UPDATE.html
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
37 -rmdir build
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
38
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
39 interwiki:
4474
aa929a72715d replace master18 URLs by master19
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 4096
diff changeset
40 wget -U MoinMoin/Makefile -O $(share)/data/intermap.txt "http://master19.moinmo.in/InterWikiMap?action=raw"
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
41 chmod 664 $(share)/data/intermap.txt
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
42
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
43 check-tabs:
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
44 @python -c 'import tabnanny ; tabnanny.check("MoinMoin")'
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
45
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
46 # Create documentation
491
be33ecd58d4e add run() methods to scripts, include version info into MoinMoin/__init__.py for epydoc
Thomas Waldmann <tw@waldmann-edv.de>
parents: 365
diff changeset
47 epydoc: patchlevel
5303
57e468c58d92 make epydoc happy
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 4667
diff changeset
48 @epydoc --parse-only -o ../html-1.9 --name=MoinMoin --url=http://moinmo.in/ MoinMoin
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
49
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
50 # Create new underlay directory from MoinMaster
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
51 # Should be used only on TW machine
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
52 underlay:
504
67d5daa9e872 moin maint reducewiki
Thomas Waldmann <tw@waldmann-edv.de>
parents: 491
diff changeset
53 rm -rf $(share)/underlay
5968
cfbaa4014bae Makefile: update cfg directory location for make underlay
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 5966
diff changeset
54 MoinMoin/script/moin.py --config-dir=/srv/cfg/1.9 --wiki-url=http://master19.moinmo.in/ maint globaledit
cfbaa4014bae Makefile: update cfg directory location for make underlay
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 5966
diff changeset
55 MoinMoin/script/moin.py --config-dir=/srv/cfg/1.9 --wiki-url=http://master19.moinmo.in/ maint reducewiki --target-dir=$(share)/underlay
3681
457a1f43f7eb MoinPagesEditorGroup is not needed any more in distribution's underlay
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 3531
diff changeset
56 rm -rf $(share)/underlay/pages/InterWikiMap
457a1f43f7eb MoinPagesEditorGroup is not needed any more in distribution's underlay
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 3531
diff changeset
57 rm -rf $(share)/underlay/pages/MoinPagesEditorGroup
3381
c8296a0c9799 updated Makefile for 1.7 underlay (pathes, use master17.moinmo.in, use .tar)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 3175
diff changeset
58 cd $(share); rm -f underlay.tar; tar cf underlay.tar underlay
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
59
315
830cf8bdcf24 implemented 'make pagepacks', updated underlay
Thomas Waldmann <tw@waldmann-edv.de>
parents: 313
diff changeset
60 pagepacks:
2006
1339d6fdc4ff Changed tests to use py.test. Also changed the semantics a bit - the test wiki directory is only created freshly if it does not exist.
Alexander Schremmer <alex AT alexanderweb DOT de>
parents: 1920
diff changeset
61 @python MoinMoin/_tests/maketestwiki.py
4588
633a4ce5ac4a make 'make pagepacks' work
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 4587
diff changeset
62 @MoinMoin/script/moin.py --config-dir=MoinMoin/_tests --wiki-url=http://localhost/ maint mkpagepacks
315
830cf8bdcf24 implemented 'make pagepacks', updated underlay
Thomas Waldmann <tw@waldmann-edv.de>
parents: 313
diff changeset
63 cd $(share) ; rm -rf underlay
830cf8bdcf24 implemented 'make pagepacks', updated underlay
Thomas Waldmann <tw@waldmann-edv.de>
parents: 313
diff changeset
64 cp -a $(testwiki)/underlay $(share)/
5960
d8d1a130ee28 make dist (for trying release archive), make dist-release (for really releasing to pypi, with gnupg signature)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 5760
diff changeset
65
d8d1a130ee28 make dist (for trying release archive), make dist-release (for really releasing to pypi, with gnupg signature)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 5760
diff changeset
66 dist-clean:
315
830cf8bdcf24 implemented 'make pagepacks', updated underlay
Thomas Waldmann <tw@waldmann-edv.de>
parents: 313
diff changeset
67 -rm MANIFEST
4644
5e634ea82648 cleanup before running sdist
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 4588
diff changeset
68 -rm -rf tests/wiki
5e634ea82648 cleanup before running sdist
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 4588
diff changeset
69 -rm -rf wiki/data/cache/{__metalock__,__session__,wikiconfig}
5e634ea82648 cleanup before running sdist
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 4588
diff changeset
70 ->wiki/data/event-log
5e634ea82648 cleanup before running sdist
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 4588
diff changeset
71 ->wiki/data/edit-log
5960
d8d1a130ee28 make dist (for trying release archive), make dist-release (for really releasing to pypi, with gnupg signature)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 5760
diff changeset
72
d8d1a130ee28 make dist (for trying release archive), make dist-release (for really releasing to pypi, with gnupg signature)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 5760
diff changeset
73 dist: dist-clean
315
830cf8bdcf24 implemented 'make pagepacks', updated underlay
Thomas Waldmann <tw@waldmann-edv.de>
parents: 313
diff changeset
74 python setup.py sdist
830cf8bdcf24 implemented 'make pagepacks', updated underlay
Thomas Waldmann <tw@waldmann-edv.de>
parents: 313
diff changeset
75
5960
d8d1a130ee28 make dist (for trying release archive), make dist-release (for really releasing to pypi, with gnupg signature)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 5760
diff changeset
76 dist-release: dist-clean
d8d1a130ee28 make dist (for trying release archive), make dist-release (for really releasing to pypi, with gnupg signature)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 5760
diff changeset
77 python setup.py register sdist upload --identity="Thomas Waldmann" --sign
d8d1a130ee28 make dist (for trying release archive), make dist-release (for really releasing to pypi, with gnupg signature)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 5760
diff changeset
78
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
79 # Create patchlevel module
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
80 patchlevel:
596
1c326229c683 use hg for patchlevel generation (via hg identify)
tw@waldmann-edv.de
parents: 562
diff changeset
81 @echo -e patchlevel = "\"`hg identify`\"\n" >MoinMoin/patchlevel.py
730
2fefb02cf54f update version in MoinMoin/__init__.py by make patchlevel target
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 597
diff changeset
82 @MoinMoin/version.py update
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
83
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
84 # Report translations status
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
85 check-i18n:
3769
8a6960133ec2 fixed path for check_i18n
Reimar Bauer <rb.proj AT googlemail DOT com>
parents: 3688
diff changeset
86 MoinMoin/i18n/tools/check_i18n.py
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
87
731
f78e361cb786 remove reference to tla in Makefile comment
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 730
diff changeset
88 # Update the workdir from the default pull repo
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
89 update:
597
16519af337fe remove some references to tla
tw@waldmann-edv.de
parents: 596
diff changeset
90 hg pull -u
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
91 $(MAKE) patchlevel
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
92
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
93 # Update underlay directory from the tarball
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
94 update-underlay:
3381
c8296a0c9799 updated Makefile for 1.7 underlay (pathes, use master17.moinmo.in, use .tar)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 3175
diff changeset
95 cd $(share); rm -rf underlay; tar xf underlay.tar
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
96
2006
1339d6fdc4ff Changed tests to use py.test. Also changed the semantics a bit - the test wiki directory is only created freshly if it does not exist.
Alexander Schremmer <alex AT alexanderweb DOT de>
parents: 1920
diff changeset
97 test:
1339d6fdc4ff Changed tests to use py.test. Also changed the semantics a bit - the test wiki directory is only created freshly if it does not exist.
Alexander Schremmer <alex AT alexanderweb DOT de>
parents: 1920
diff changeset
98 @echo Testing is now done using \`py.test\`. py.test can be installed by downloading from http://codespeak.net/py/dist/download.html
1339d6fdc4ff Changed tests to use py.test. Also changed the semantics a bit - the test wiki directory is only created freshly if it does not exist.
Alexander Schremmer <alex AT alexanderweb DOT de>
parents: 1920
diff changeset
99 @echo Writing tests is explained on http://codespeak.net/py/dist/test.html
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
100
886
203686df2c6d Added a makefile target for coverage analysis of the unit tests (called coverage).
Alexander Schremmer <alex AT alexanderweb DOT de>
parents: 731
diff changeset
101 coverage:
2006
1339d6fdc4ff Changed tests to use py.test. Also changed the semantics a bit - the test wiki directory is only created freshly if it does not exist.
Alexander Schremmer <alex AT alexanderweb DOT de>
parents: 1920
diff changeset
102 @python MoinMoin/_tests/maketestwiki.py
886
203686df2c6d Added a makefile target for coverage analysis of the unit tests (called coverage).
Alexander Schremmer <alex AT alexanderweb DOT de>
parents: 731
diff changeset
103 @python -u -m trace --count --coverdir=cover --missing tests/runtests.py
203686df2c6d Added a makefile target for coverage analysis of the unit tests (called coverage).
Alexander Schremmer <alex AT alexanderweb DOT de>
parents: 731
diff changeset
104
1920
b06ef2a53efa 'make pylint', fixed lots of minor stuff found by pylint (and there is still lots left to do)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1603
diff changeset
105 pylint:
3175
2a3a6cb34e45 pylint findings: fix some harmless stuff
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 2981
diff changeset
106 @pylint --disable-msg=W0142,W0511,W0612,W0613,C0103,C0111,C0302,C0321,C0322 --disable-msg-cat=R MoinMoin
886
203686df2c6d Added a makefile target for coverage analysis of the unit tests (called coverage).
Alexander Schremmer <alex AT alexanderweb DOT de>
parents: 731
diff changeset
107
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
108 clean: clean-testwiki clean-pyc
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
109 rm -rf build
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
110
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
111 clean-testwiki:
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
112 rm -rf $(testwiki)/*
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
113
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
114 clean-pyc:
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
115 find . -name "*.pyc" -exec rm -rf "{}" \;
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
116
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
117 .PHONY: all dist install-docs check-tabs epydoc underlay patchlevel \
597
16519af337fe remove some references to tla
tw@waldmann-edv.de
parents: 596
diff changeset
118 check-i18n update update-underlay test testwiki clean \
0
77665d8e2254 tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
Thomas Waldmann <tw-public@gmx.de>
parents:
diff changeset
119 clean-testwiki clean-pyc