make dist: No rule to make target 'osmocom/mgcp_client/mgcp_common.h'
"make dist" does not work in all tagged releases in osmo-mgw since 1.1.0. It is failing with:
make: Entering directory '/home/user/code/osmo-dev/src/osmo-mgw/include' make: *** No rule to make target 'osmocom/mgcp_client/mgcp_common.h', needed by 'distdir'. Stop. make: Leaving directory '/home/user/code/osmo-dev/src/osmo-mgw/include' Makefile:599: recipe for target 'distdir' failed make: *** [distdir] Error 1 make: Leaving directory '/home/user/code/osmo-dev/src/osmo-mgw' Makefile:700: recipe for target 'dist' failed make: *** [dist] Error 2
The file in question is copied from another location in the source tree during normal build, and also during "make check" (which is probably why it does not fail in jenkins).