r1410: fix another bug caused by the docs target directories change