BRL-CAD's experimental CMake build is using xsltproc and fop currently rather than TEX binaries, but the techniques probably can be adapted to other tools - you might want to take a look at:
http://brlcad.svn.sourceforge.net/viewvc/brlcad/brlcad/branches/cmake/doc/docbook/CMakeLists.txt?revision=40516&view=markup and subdirectories to see if that logic is helpful. Don't know if it's the best/right way, but it does work in testing here. Cheers, and good luck! CY _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake