Meson and Autotools install different files
If I build xorgproto with both meson and autotools with legacy disabled, Meson installs more files:
packages/corei7-64-poky-linux/xorgproto/xorgproto-dev: FILELIST: added
/usr/include/X11/PM/PM.h
/usr/include/X11/extensions/xtraplibp.h
/usr/include/X11/extensions/xtrapemacros.h
/usr/share/pkgconfig/xproxymngproto.pc
/usr/include/X11/extensions/xtrapproto.h
/usr/share/pkgconfig/xf86miscproto.pc
/usr/include/X11/PM/PMproto.h
/usr/include/X11/extensions/xtrapddmi.h
/usr/include/X11/extensions/xf86misc.h
/usr/include/X11/extensions/xtrapbits.h
/usr/share/pkgconfig/trapproto.pc
/usr/include/X11/extensions/xtrapdi.h
/usr/include/X11/extensions/xtraplib.h
/usr/include/X11/extensions/xf86mscstr.h