-DREBUILD_MANUAL fails on Debian Unstable (and probably other recent Linux distributions) with the following error:
$ cmake ../speedcrunch/src/ -DREBUILD_MANUAL=on $ make ... Scanning dependencies of target speedcrunch_arcc_manual make: *** No rule to make target 'doc/manual.qrc', needed by 'CMakeFiles/speedcrunch_arcc_manual'. Stop. make: *** [CMakeFiles/Makefile2:456: CMakeFiles/speedcrunch_arcc_manual.dir/all] Error 2 make: *** [Makefile:163: all] Error 2
I suspect this is the consequence of some change either in CMake or in Qt or in the Qt-CMake integration.
It feels like this part -- rebuilding the manual during the build -- has caused so many problems. I'll probably just take it out. Rebuilding the manual is still important for the Debian package, but splitting the process should make it more robust:
- Run some command(s) to build the manual in a separate directory, probably based on the existing CMakeLists.txt in the docs folder.
- Run the main build and specify the path to the rebuilt manual.