Detect if we build from a git subtree
Backported from gtkmm. If the cairomm directory is a subtree, we are building from a git repository, so we take that into account. This fix the incorrect "You must enable maintainer-mode" error.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Backported from gtkmm. If the cairomm directory is a subtree, we are building from a git repository, so we take that into account. This fix the incorrect "You must enable maintainer-mode" error.