you should have
```
/Makefile.am
/Makefile.am.common
```
in your .gitignore. These top level files are automatically generated.