Fixing a variable name, and a PHP warning.
[mediawiki.git] / maintenance / Makefile
blobe84cfdf363bc1d7946b57713861f427d98c5855c
1 mediawiki_version := $(shell php -r "include('commandLine.inc'); print SpecialVersion::getVersion();")
3 help:
4 @echo "Run 'make test' to run the parser tests."
5 @echo "Run 'make doc' to run the phpdoc generation."
6 @echo "Run 'make doxydoc' (unsupported doxygen generation)."
8 test:
9 php parserTests.php --quiet
11 doc:
12 php mwdocgen.php -all
13 echo 'Doc generation done. Look at ./docs/html/'
15 doxydoc:
16 cd .. && /bin/sed -e "s/MW_VERSION_PLACEHOLDER/$(mediawiki_version)/" maintenance/mwdoxygen.cfg | doxygen -
17 echo 'Doc generation done. Look at ./docs/html/'