Fix calculate_relative_path

When outdir == "." calculate_relative_path was counting that dot as a
directory and adding an extra ".." to the result. So only count parts
that don't equal ".".

Refs #2921

svn path=/trunk/tools/quickbook/; revision=52237
Silly BUILD_QUICKBOOK.  Just use the cmake target.




svn path=/trunk/tools/quickbook/; revision=52252
Document 'boost:' links in boostbook & quickbook.

Fixes #2861.

svn path=/trunk/tools/quickbook/; revision=52352
Update subdirectories that Quickbook needs to use when building modularized

svn path=/trunk/tools/quickbook/; revision=52801
Import Python and C code snippets in quickbook, by Jaroslav Gresula. Refs #3029.

svn path=/trunk/tools/quickbook/; revision=53018
Use '.py' when checking for python files.

svn path=/trunk/tools/quickbook/; revision=53019
Use the correct source type for snippets.

svn path=/trunk/tools/quickbook/; revision=53020
Separate code snippet grammar and actions.

svn path=/trunk/tools/quickbook/; revision=53021
Make code_snippet_action language ignorant.

svn path=/trunk/tools/quickbook/; revision=53022
Merge of cmakefiles *from* (that's right, *FROM* :/ ) release branch.

svn path=/trunk/tools/quickbook/; revision=53150
A couple of missing newlines.

svn path=/trunk/tools/quickbook/; revision=54034
Add a couple of tests for quickbook 1.4 behaviour to try to preserve it.

svn path=/trunk/tools/quickbook/; revision=54812
Move all the syntax highlighting code into a single class.

svn path=/trunk/tools/quickbook/; revision=54813
Move the code actions a bit later in actions.hpp so they can use 'plain_char_action'.

svn path=/trunk/tools/quickbook/; revision=54814
Teletype source mode. Refs #1202.

svn path=/trunk/tools/quickbook/; revision=54815
Make sure that a template expansion ends with a ']'.

{{{
[template foo 1]
[fool]
}}}

was generating `1[fool]` - the template would be expanded but then when it
didn't match the `]` it would fail and just get copied to the output. This
change checks for `]` before expanding the template. So it now generates
`[fool]` which is an improvement.

I'm not including a version switch as I see this as a plain bug fix - I can't
imagine this change ever being anything but beneficial.

svn path=/trunk/tools/quickbook/; revision=54816
I got a bit confused by this comment, so try to make it clearer.

svn path=/trunk/tools/quickbook/; revision=54817
Copyrights on CMakeLists.txt to keep them from clogging up the inspect
reports.  This is essentially the same commit as r55095 on the release
branch.


svn path=/trunk/tools/quickbook/; revision=55159
Remove empty svn:mergeinfo properties. This should reduce the amount of differences between trunk and release.

svn path=/trunk/tools/quickbook/; revision=55470
Update quickbook version number.

svn path=/trunk/tools/quickbook/; revision=55905