Normal procedure, for source extracted from a tar distribution)

For versions 1.38 and later (else check the manual inside the older source):

cd recoll-xxx
meson setup [options] build
ninja -C build