qdoc: better copying of .css files
authorMartin Smith <martin.smith@digia.com>
Fri, 9 Nov 2012 14:33:02 +0000 (15:33 +0100)
committerMartin Smith <martin.smith@digia.com>
Wed, 14 Nov 2012 12:29:17 +0000 (13:29 +0100)
commit6326746d226fa55175a83d6b197630d75cd6a9cb
tree9e0653b5e1a455dfad9cc1c99047fdba6d44394b
parent80f91f4e1bf2473ff3d9c9a76f2b01aa2273d804
qdoc: better copying of .css files

This fix searches for the css files specified in the
stylesheets variable. It searches for them in the
directory specified as the templatedir. It copies
them into the style subdirectory of the outputdir.

It also tests QT_INSTALL_DOCS before setting it to
the library info. If it was set on the command line,
it is not set from the library info.

This change also includes some debug code, which
will be removed after testing.

Task-number: QTBUG-27878
Change-Id: I7a9469b840e13b966aca44b99aebba102e5d4f0c
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
src/tools/qdoc/config.cpp
src/tools/qdoc/config.h
src/tools/qdoc/generator.cpp
src/tools/qdoc/main.cpp