From 9e4e1ddc5c0316a53fd2f02efc1d961e00f5c455 Mon Sep 17 00:00:00 2001 From: oepen Date: Thu, 13 Oct 2011 09:08:31 +0000 Subject: [PATCH] Fixed highlighting of configure commands in npa documentation git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@548 96b47cad-a561-4643-ad3b-153ac7d7599c --- doc/index.rst | 2 +- npa/README.dox | 21 +++++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/doc/index.rst b/doc/index.rst index e571dc2..9e1941c 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -13,7 +13,7 @@ Currently the following projects are part of vsmartcard: Contents: .. toctree:: - :maxdepth: 2 + :maxdepth: 3 ccid npa diff --git a/npa/README.dox b/npa/README.dox index 920e716..927ddd7 100644 --- a/npa/README.dox +++ b/npa/README.dox @@ -35,9 +35,11 @@ Hints on OpenSSL ---------------- If you have a local build of OpenSSL with OpenPACE, that you want to link -against use something like the following command: +against use something like the following command: :: -``./configure OPENSSL_CFLAGS="-I/path/to/openssl-1.0.0d_with_openpace-0.6/include" OPENSSL_LIBS="-L/path/to/openssl-1.0.0d_with_openpace-0.6 -lcrypto"`` + ./configure \ + OPENSSL_CFLAGS="-I/path/to/openssl-1.0.0d_with_openpace-0.6/include" \ + OPENSSL_LIBS="-L/path/to/openssl-1.0.0d_with_openpace-0.6 -lcrypto"`` ===== Usage @@ -61,14 +63,13 @@ libraries and cflags for foreign code is to use pkg-config: ``./configure PKG_CONFIG_PATH=/path/to/openssl-1.0.0d_with_openpace-0.6/lib/pkgconfig:/path/to/libnpa/lib/pkgconfig"`` -Alternatively you can define libs and cflags by hand: -@code -./configure \ - OPENSSL_CFLAGS="-I/path/to/openssl-1.0.0d_with_openpace-0.6/include" \ - LIBNPA_CFLAGS="-I/path/to/openssl-1.0.0d_with_openpace-0.6/include -I/path/to/libnpa-0.1/src" \ - OPENSSL_LIBS="-L/path/to/openssl-1.0.0d_with_openpace-0.6 -lcrypto" \ - LIBNPA_LIBS="-L/path/to/openssl-1.0.0d_with_openpace-0.6 -lcrypto -L/path/to/libnpa-0.1/src/.libs -lnpa" -@endcode +Alternatively you can define libs and cflags by hand: :: + + ./configure \ + OPENSSL_CFLAGS="-I/path/to/openssl-1.0.0d_with_openpace-0.6/include" \ + LIBNPA_CFLAGS="-I/path/to/openssl-1.0.0d_with_openpace-0.6/include -I/path/to/libnpa-0.1/src" \ + OPENSSL_LIBS="-L/path/to/openssl-1.0.0d_with_openpace-0.6 -lcrypto" \ + LIBNPA_LIBS="-L/path/to/openssl-1.0.0d_with_openpace-0.6 -lcrypto -L/path/to/libnpa-0.1/src/.libs -lnpa" ========= Questions