only refresh documentation if needed
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@605 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -15,8 +15,11 @@ do_subst = sed \
|
|||||||
|
|
||||||
EXTRA_DIST = README.rst.in README.rst autotools.rst autotools.rst.in questions.rst questions.rst.in
|
EXTRA_DIST = README.rst.in README.rst autotools.rst autotools.rst.in questions.rst questions.rst.in
|
||||||
|
|
||||||
.PHONY: doc
|
|
||||||
doc:
|
doc:
|
||||||
$(do_subst) < autotools.rst.in > autotools.rst
|
$(do_subst) < autotools.rst.in > autotools.rst
|
||||||
$(do_subst) < questions.rst.in > questions.rst
|
$(do_subst) < questions.rst.in > questions.rst
|
||||||
$(do_subst) < README.rst.in > README.rst
|
$(do_subst) < README.rst.in > README.rst
|
||||||
|
touch doc
|
||||||
|
|
||||||
|
clean-local:
|
||||||
|
rm -f doc README.rst autotools.rst questions.rst
|
||||||
|
|||||||
@@ -14,10 +14,10 @@
|
|||||||
import sys, os, breathe
|
import sys, os, breathe
|
||||||
from sphinxcontrib.doxylink import doxylink
|
from sphinxcontrib.doxylink import doxylink
|
||||||
|
|
||||||
os.system("make doc -C npa >/dev/null")
|
os.system("make doc -C npa")
|
||||||
os.system("make doc -C virtualsmartcard >/dev/null")
|
os.system("make doc -C virtualsmartcard")
|
||||||
os.system("make doc -C ccid >/dev/null")
|
os.system("make doc -C ccid")
|
||||||
os.system("make doc -C pcsc-relay >/dev/null")
|
os.system("make doc -C pcsc-relay")
|
||||||
|
|
||||||
# If extensions (or modules to document with autodoc) are in another directory,
|
# If extensions (or modules to document with autodoc) are in another directory,
|
||||||
# add these directories to sys.path here. If the directory is relative to the
|
# add these directories to sys.path here. If the directory is relative to the
|
||||||
|
|||||||
@@ -15,11 +15,14 @@ do_subst = sed \
|
|||||||
|
|
||||||
EXTRA_DIST = README.rst.in README.rst Doxyfile.in example.c autotools.rst autotools.rst.in questions.rst questions.rst.in
|
EXTRA_DIST = README.rst.in README.rst Doxyfile.in example.c autotools.rst autotools.rst.in questions.rst questions.rst.in
|
||||||
|
|
||||||
.PHONY: doc
|
doc: $(top_srcdir)/src/npa/*.h
|
||||||
doc:
|
|
||||||
$(do_subst) < Doxyfile.in > Doxyfile
|
$(do_subst) < Doxyfile.in > Doxyfile
|
||||||
$(DOXYGEN) Doxyfile
|
$(DOXYGEN) Doxyfile
|
||||||
touch api.rst
|
touch api.rst
|
||||||
$(do_subst) < autotools.rst.in > autotools.rst
|
$(do_subst) < autotools.rst.in > autotools.rst
|
||||||
$(do_subst) < questions.rst.in > questions.rst
|
$(do_subst) < questions.rst.in > questions.rst
|
||||||
$(do_subst) < README.rst.in > README.rst
|
$(do_subst) < README.rst.in > README.rst
|
||||||
|
touch doc
|
||||||
|
|
||||||
|
clean-local:
|
||||||
|
rm -f doc README.rst autotools.rst questions.rst Doxyfile
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ Secure Messaging (SM)
|
|||||||
=====================
|
=====================
|
||||||
|
|
||||||
The complete documentation can be found `here
|
The complete documentation can be found `here
|
||||||
<_static/doxygen-npa/group__sm.html>`_.
|
<_static/doxygen-npa/group__sm.html>`__.
|
||||||
|
|
||||||
-----
|
-----
|
||||||
Types
|
Types
|
||||||
@@ -49,7 +49,7 @@ Interface to German identity card (neuer Personalausweis, nPA)
|
|||||||
==============================================================
|
==============================================================
|
||||||
|
|
||||||
The complete documentation can be found `here
|
The complete documentation can be found `here
|
||||||
<_static/doxygen-npa/group__npa.html>`_.
|
<_static/doxygen-npa/group__npa.html>`__.
|
||||||
|
|
||||||
-----
|
-----
|
||||||
Types
|
Types
|
||||||
|
|||||||
@@ -15,8 +15,11 @@ do_subst = sed \
|
|||||||
|
|
||||||
EXTRA_DIST = README.rst.in README.rst autotools.rst.in questions.rst.in autotools.rst questions.rst
|
EXTRA_DIST = README.rst.in README.rst autotools.rst.in questions.rst.in autotools.rst questions.rst
|
||||||
|
|
||||||
.PHONY: doc
|
|
||||||
doc:
|
doc:
|
||||||
$(do_subst) < autotools.rst.in > autotools.rst
|
$(do_subst) < autotools.rst.in > autotools.rst
|
||||||
$(do_subst) < questions.rst.in > questions.rst
|
$(do_subst) < questions.rst.in > questions.rst
|
||||||
$(do_subst) < README.rst.in > README.rst
|
$(do_subst) < README.rst.in > README.rst
|
||||||
|
touch doc
|
||||||
|
|
||||||
|
clean-local:
|
||||||
|
rm -f doc README.rst autotools.rst questions.rst
|
||||||
|
|||||||
@@ -19,9 +19,12 @@ EXTRA_DIST = README.rst.in README.rst autotools.rst.in questions.rst.in autotool
|
|||||||
|
|
||||||
dist_noinst_SCRIPTS = generate_modules.py
|
dist_noinst_SCRIPTS = generate_modules.py
|
||||||
|
|
||||||
.PHONY: doc
|
doc: $(top_srcdir)/src/vpicc/virtualsmartcard/*.py $(top_srcdir)/src/vpicc/virtualsmartcard/cards/*.py
|
||||||
doc:
|
|
||||||
$(do_subst) < autotools.rst.in > autotools.rst
|
$(do_subst) < autotools.rst.in > autotools.rst
|
||||||
$(do_subst) < questions.rst.in > questions.rst
|
$(do_subst) < questions.rst.in > questions.rst
|
||||||
$(do_subst) < README.rst.in > README.rst
|
$(do_subst) < README.rst.in > README.rst
|
||||||
./generate_modules.py $(top_srcdir)/src/vpicc --dest-dir=api --suffix=rst --no-toc -1
|
./generate_modules.py $(top_srcdir)/src/vpicc --dest-dir=api --suffix=rst --no-toc -1 -f
|
||||||
|
touch doc
|
||||||
|
|
||||||
|
clean-local:
|
||||||
|
rm -f doc README.rst autotools.rst questions.rst
|
||||||
|
|||||||
Reference in New Issue
Block a user