summaryrefslogtreecommitdiff
path: root/www/wiki/maintenance/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/maintenance/Makefile')
-rw-r--r--www/wiki/maintenance/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/www/wiki/maintenance/Makefile b/www/wiki/maintenance/Makefile
new file mode 100644
index 00000000..a348e856
--- /dev/null
+++ b/www/wiki/maintenance/Makefile
@@ -0,0 +1,19 @@
+help:
+ @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 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)'