mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[doc] add shortcut in make file to generate graph
This commit is contained in:
parent
cb8bff62ee
commit
d2d0ab0418
1 changed files with 5 additions and 1 deletions
|
@ -12,9 +12,13 @@ BUILDDIR = _build
|
|||
help:
|
||||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||
|
||||
ldap_graph:
|
||||
cat ldapsearch.result | python ldif2dot-0.1.py > ldap_graph.dot
|
||||
dot -Tpng ldap_graph.dot > ldap_graph.png
|
||||
|
||||
.PHONY: help Makefile
|
||||
|
||||
# Catch-all target: route all unknown targets to Sphinx using the new
|
||||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
||||
%: Makefile
|
||||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||
|
|
Loading…
Reference in a new issue