if test -d ./.git \ && git --version >/dev/null 2>&1; then \ cd . && \ git submodule --quiet foreach \ 'test "$(git rev-parse "$sha1")" \ = "$(git merge-base origin "$sha1")"' \ || { echo 'maint.mk: found non-public submodule commit' >&2; \ exit 1; }; \ else \ : ; \ fi There seems to be no Makefile in this directory. You must run ./configure before running 'gmake'. gmake: *** [GNUmakefile:108: abort-due-to-no-makefile] Error 1