not using static path for program-output. instead setting the correct envirnment in conf.py.

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@635 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2011-11-08 17:09:41 +00:00
parent 27a3385f36
commit 52658259ba
9 changed files with 14 additions and 10 deletions

View File

@@ -109,13 +109,13 @@ mounted. The CCID Emulator is compatible with the unix driver libccid_ and the
windows smart card driver. To initialize PACE using the PC/SC API you need to windows smart card driver. To initialize PACE using the PC/SC API you need to
patch libccid and pcsc-lite (see directory patches). patch libccid and pcsc-lite (see directory patches).
.. program-output:: sh -c 'cd /home/fm/work/vsmartcard/ccid/src && ./ccid-emulator --help' .. program-output:: ccid-emulator --help
cats-test can be used to test the PACE capabilities of a smart card reader with cats-test can be used to test the PACE capabilities of a smart card reader with
PACE support (such as the CCID Emulator or any other "Standardleser" CAT-S or PACE support (such as the CCID Emulator or any other "Standardleser" CAT-S or
"Komfortleser" CAT-C) via PC/SC. "Komfortleser" CAT-C) via PC/SC.
.. program-output:: sh -c 'cd /home/fm/work/vsmartcard/ccid/src && ./cats-test' .. program-output:: cats-test
.. include:: questions.rst .. include:: questions.rst

View File

@@ -109,13 +109,13 @@ mounted. The @PACKAGE_NAME@ is compatible with the unix driver libccid_ and the
windows smart card driver. To initialize PACE using the PC/SC API you need to windows smart card driver. To initialize PACE using the PC/SC API you need to
patch libccid and pcsc-lite (see directory patches). patch libccid and pcsc-lite (see directory patches).
.. program-output:: sh -c 'cd @abs_top_srcdir@/src && ./ccid-emulator --help' .. program-output:: ccid-emulator --help
cats-test can be used to test the PACE capabilities of a smart card reader with cats-test can be used to test the PACE capabilities of a smart card reader with
PACE support (such as the @PACKAGE_NAME@ or any other "Standardleser" CAT-S or PACE support (such as the @PACKAGE_NAME@ or any other "Standardleser" CAT-S or
"Komfortleser" CAT-C) via PC/SC. "Komfortleser" CAT-C) via PC/SC.
.. program-output:: sh -c 'cd @abs_top_srcdir@/src && ./cats-test' .. program-output:: cats-test
.. include:: questions.rst .. include:: questions.rst

View File

@@ -19,6 +19,10 @@ os.system("make doc -C virtualsmartcard")
os.system("make doc -C ccid") os.system("make doc -C ccid")
os.system("make doc -C pcsc-relay") os.system("make doc -C pcsc-relay")
os.environ['PATH'] += os.pathsep + os.path.abspath('../npa/src')
os.environ['PATH'] += os.pathsep + os.path.abspath('../pcsc-relay/src')
os.environ['PATH'] += os.pathsep + os.path.abspath('../virtualsmartcard/src/vpicc')
# 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
# documentation root, use os.path.abspath to make it absolute, like shown here. # documentation root, use os.path.abspath to make it absolute, like shown here.

View File

@@ -109,7 +109,7 @@ To pass a secret to npa-tool, the command line parameters or the environment
variables PIN/CAN/MRZ/PUK/NEWPIN can be used. If none of these options is used, variables PIN/CAN/MRZ/PUK/NEWPIN can be used. If none of these options is used,
npa-tool will show a password prompt. npa-tool will show a password prompt.
.. program-output:: sh -c 'cd /home/fm/work/vsmartcard/npa/src && ./npa-tool --help' .. program-output:: npa-tool --help
---------------------- ----------------------
Linking against libnpa Linking against libnpa

View File

@@ -109,7 +109,7 @@ To pass a secret to npa-tool, the command line parameters or the environment
variables PIN/CAN/MRZ/PUK/NEWPIN can be used. If none of these options is used, variables PIN/CAN/MRZ/PUK/NEWPIN can be used. If none of these options is used,
npa-tool will show a password prompt. npa-tool will show a password prompt.
.. program-output:: sh -c 'cd @abs_top_srcdir@/src && ./npa-tool --help' .. program-output:: npa-tool --help
---------------------- ----------------------
Linking against libnpa Linking against libnpa

View File

@@ -32,7 +32,7 @@ pcsc-relay has the following dependencies:
- PC/SC middleware - PC/SC middleware
- libnfc_ - libnfc_
.. program-output:: sh -c 'cd /home/fm/work/vsmartcard/pcsc-relay/src && ./pcsc-relay --help' .. program-output:: pcsc-relay --help
--------------- ---------------

View File

@@ -32,7 +32,7 @@ pcsc-relay has the following dependencies:
- PC/SC middleware - PC/SC middleware
- libnfc_ - libnfc_
.. program-output:: sh -c 'cd @abs_top_srcdir@/src && ./pcsc-relay --help' .. program-output:: pcsc-relay --help
--------------- ---------------

View File

@@ -73,7 +73,7 @@ You should now be able to access the |vpicc| through the system's
PC/SC API via |vpcd|/pcscd. You can use the opensc-explorer or pcsc_scan to test PC/SC API via |vpcd|/pcscd. You can use the opensc-explorer or pcsc_scan to test
that. that.
.. program-output:: /home/fm/work/vsmartcard/virtualsmartcard/src/vpicc/vicc --help .. program-output:: vicc --help
.. include:: questions.rst .. include:: questions.rst

View File

@@ -73,7 +73,7 @@ You should now be able to access the |vpicc| through the system's
PC/SC API via |vpcd|/pcscd. You can use the opensc-explorer or pcsc_scan to test PC/SC API via |vpcd|/pcscd. You can use the opensc-explorer or pcsc_scan to test
that. that.
.. program-output:: @abs_top_srcdir@/src/vpicc/vicc --help .. program-output:: vicc --help
.. include:: questions.rst .. include:: questions.rst