Show the current version number in doxygen documentation
[lhc/web/wiklou.git] / maintenance / Makefile
1 mediawiki_version := $(shell php -r "include('commandLine.inc'); print SpecialVersion::getVersion();")
2
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)."
7
8 test:
9 php parserTests.php --quiet
10
11 doc:
12 php mwdocgen.php -all
13 echo 'Doc generation done. Look at ./docs/html/'
14
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/'