X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FMakefile;h=2555475102c3d70666bac48e9b0a5c1940ae441f;hb=0a3a8989a9daecf8c771b68e0b64b1b1b8f40075;hp=8cdb03f008463944cfaea94586e3bb6c553d2eed;hpb=c6e51aea9e1e2dcf1dc1abfd00be5fe34c393eea;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/Makefile b/maintenance/Makefile index 8cdb03f008..2555475102 100644 --- a/maintenance/Makefile +++ b/maintenance/Makefile @@ -1,13 +1,19 @@ -.PHONY: help doc test help: - # Run 'make test' to run the parser tests. - # Run 'make doc' to run the phpdoc generation. + @echo "Run 'make test' to run the parser tests." + @echo "Run 'make doc' to run the doxygen generation." + @echo "Run 'make man' to run the doxygen generation with man pages." test: - php parserTests.php - -test-light: - php parserTests.php --color=light + php tests/parserTests.php --quiet doc: php mwdocgen.php --all + ./mwjsduck-gen + @echo 'PHP documentation (by Doxygen) in ./docs/html/' + @echo 'JS documentation (by JSDuck) in ./docs/js/' + +man: + php mwdocgen.php --all --generate-man + @echo 'Doc generation done. Look at ./docs/html/ and ./docs/man' + @echo 'You might want to update your MANPATH currently:' + @echo 'MANPATH: $(MANPATH)'