X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FMakefile;h=a348e856f3e36821df747768526e0812c9e5dc53;hb=b57fdd5d709e6d78f1120691ee2519181ef6353e;hp=a0e04418a0165beeab11842606062dbaf1f4dba1;hpb=1d77f7b5a4a671e719b8c4529942234169da0061;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/Makefile b/maintenance/Makefile index a0e04418a0..a348e856f3 100644 --- a/maintenance/Makefile +++ b/maintenance/Makefile @@ -1,10 +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 + php tests/parser/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)'