X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FMakefile;h=a348e856f3e36821df747768526e0812c9e5dc53;hb=00e52d96addceb383baa25b9cd5b40b4fa61d9a8;hp=5afb925888bc1cc0d84f4afc6f4834f580764e2c;hpb=1ab4ef72af3b270d5b0649a9ca9f5c6e685273b4;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/Makefile b/maintenance/Makefile index 5afb925888..a348e856f3 100644 --- a/maintenance/Makefile +++ b/maintenance/Makefile @@ -1,17 +1,19 @@ -.PHONY: help test test-light help: - # Run 'make test' to run the parser tests. - # Run 'make doc' to run the phpdoc generation. - # Run 'make doxydoc' (unsupported doxygen 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 --quiet + php tests/parser/parserTests.php --quiet doc: - php mwdocgen.php -all - echo 'Doc generation done. Look at ./docs/html/' - -doxydoc: - cd .. && doxygen maintenance/mwdoxygen.cfg - echo 'Doc generation done. Look at ./docs/html/' + 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)'