Mercurial > moin > 1.9
view Makefile @ 3080:7dcd8b937fd0
small fixes to i18n maintainer mailings script and text (ported from 1.6 and updated for 1.7)
author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
---|---|
date | Fri, 22 Feb 2008 22:46:10 +0100 |
parents | 0b9c89023917 |
children | 2a3a6cb34e45 |
line wrap: on
line source
# # Makefile for MoinMoin # # location for the wikiconfig.py we use for testing: export PYTHONPATH=$(PWD)/tests:$(PWD) testwiki := ./tests/wiki share := ./wiki all: python setup.py build install-docs: -mkdir build wget -U MoinMoin/Makefile -O build/INSTALL.html "http://master.moinmo.in/MoinMoin/InstallDocs?action=print" sed \ -e 's#href="/#href="http://master.moinmo.in/#g' \ -e 's#http://[a-z\.]*/wiki/classic/#/wiki/classic/#g' \ -e 's#http://[a-z\.]*/wiki/modern/#/wiki/modern/#g' \ -e 's#http://[a-z\.]*/wiki/rightsidebar/#/wiki/rightsidebar/#g' \ -e 's#/wiki/classic/#wiki/htdocs/classic/#g' \ -e 's#/wiki/modern/#wiki/htdocs/modern/#g' \ -e 's#/wiki/rightsidebar/#wiki/htdocs/rightsidebar/#g' \ build/INSTALL.html >docs/INSTALL.html -rm build/INSTALL.html -rmdir build interwiki: wget -U MoinMoin/Makefile -O $(share)/data/intermap.txt "http://master.moinmo.in/InterWikiMap?action=raw" chmod 664 $(share)/data/intermap.txt check-tabs: @python -c 'import tabnanny ; tabnanny.check("MoinMoin")' # Create documentation epydoc: patchlevel @epydoc -o ../html-1.7 --name=MoinMoin --url=http://moinmo.in/ --graph=all --graph-font=Arial MoinMoin # Create new underlay directory from MoinMaster # Should be used only on TW machine underlay: rm -rf $(share)/underlay MoinMoin/script/moin.py --config-dir=/srv/de.wikiwikiweb.moinmaster/bin16 --wiki-url=master.moinmo.in/ maint globaledit MoinMoin/script/moin.py --config-dir=/srv/de.wikiwikiweb.moinmaster/bin16 --wiki-url=master.moinmo.in/ maint reducewiki --target-dir=$(share)/underlay rm -rf $(share)/underlay/pages/InterWikiMap/ echo -ne "#acl All:read\r\nSee MoinMoin:EditingOnMoinMaster.\r\n" > \ $(share)/underlay/pages/MoinPagesEditorGroup/revisions/00000001 cd $(share); rm -rf underlay.tar.bz2; tar cjf underlay.tar.bz2 underlay pagepacks: @python MoinMoin/_tests/maketestwiki.py @MoinMoin/script/moin.py --config-dir=$(testwiki)/.. maint mkpagepacks cd $(share) ; rm -rf underlay cp -a $(testwiki)/underlay $(share)/ dist: -rm MANIFEST python setup.py sdist # Create patchlevel module patchlevel: @echo -e patchlevel = "\"`hg identify`\"\n" >MoinMoin/patchlevel.py @MoinMoin/version.py update # Report translations status check-i18n: MoinMoin/i18n/check_i18n.py # Update the workdir from the default pull repo update: hg pull -u $(MAKE) patchlevel # Update underlay directory from the tarball update-underlay: cd $(share); rm -rf underlay; tar xjf underlay.tar.bz2 test: @echo Testing is now done using \`py.test\`. py.test can be installed by downloading from http://codespeak.net/py/dist/download.html @echo Writing tests is explained on http://codespeak.net/py/dist/test.html coverage: @python MoinMoin/_tests/maketestwiki.py @python -u -m trace --count --coverdir=cover --missing tests/runtests.py pylint: @pylint --disable-msg=W0511,W0302,W0131,C0101,W0612,W0613,W0702,W0703,W0704,W0706,W0142,W0201 --disable-msg-cat=R --parseable=y MoinMoin clean: clean-testwiki clean-pyc rm -rf build clean-testwiki: rm -rf $(testwiki)/* clean-pyc: find . -name "*.pyc" -exec rm -rf "{}" \; .PHONY: all dist install-docs check-tabs epydoc underlay patchlevel \ check-i18n update update-underlay test testwiki clean \ clean-testwiki clean-pyc