Also adapted the fetch rules to correctly generate the gitignore
files for gcc, and allow the case of multiple modules in the same
directory, as found in gnu/dist.
Warning: This patch has an entry in docs/UPDATING
Change-Id: Ib781734e8fd7f9c6265fa65d62ba2cf3fccbc5ba