teemperor added a comment.

@yamaguchi  Did you test the latest revision of this patch and get the desired 
output paths? I just tested it and it seems on my system doxygen can't handle 
the `@abs_srcdir@/../`.

At least on my system it gets correctly generated as:

  STRIP_FROM_PATH        = /home/teemperor/llvm/trunk/tools/clang/docs/../

However, because doxygen seems to be only doing string-matching, it doesn't 
understand that `/home/teemperor/llvm/trunk/tools/clang/` equals 
`/home/teemperor/llvm/trunk/tools/clang/docs/../` (at least on my system). If I 
manually remove `docs/../` I get the correct result.

In theory we could just replace the `@abs_srcdir@/../`with another CMake 
variable that is already correctly replaced by the real path, but I fear we 
loose autoconf support that way unless we have a separate 
`doxygen-cmake.conf.in` or something ugly like that.


https://reviews.llvm.org/D32113



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to