This should almost make it possible to pass --enable-documentation-only