summaryrefslogtreecommitdiff
path: root/maintenance/Makefile
blob: e84cfdf363bc1d7946b57713861f427d98c5855c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mediawiki_version := $(shell  php -r "include('commandLine.inc'); print SpecialVersion::getVersion();")

help:
	@echo "Run 'make test' to run the parser tests."
	@echo "Run 'make doc' to run the phpdoc generation."
	@echo "Run 'make doxydoc' (unsupported doxygen generation)."

test:
	php parserTests.php --quiet

doc:
	php mwdocgen.php -all
	echo 'Doc generation done. Look at ./docs/html/'

doxydoc:
	cd .. && /bin/sed -e "s/MW_VERSION_PLACEHOLDER/$(mediawiki_version)/" maintenance/mwdoxygen.cfg | doxygen -
	echo 'Doc generation done. Look at ./docs/html/'