moin-2.0 / Makefile

#
# 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

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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.