Move doc git ignores to main ignores and add tools/Makefile.