gitlab CI: add a basic build test
CI config to handle both meson & autotools is based on the one from xorgproto
Also fixes doc install path from meson to match autotools so the comparison test in the CI passes
CI config to handle both meson & autotools is based on the one from xorgproto
Also fixes doc install path from meson to match autotools so the comparison test in the CI passes