.gitignore para Autotools
35 regras de exclusão para Autotools, prontas a copiar para o seu repositório.
Sistema de compilação GNU
O .gitignore completo para Autotools
# Gerado pelo LFGitignore - https://lfgitignore.com
# Criado: 2026-10-13 15:56:04 UTC
# Tecnologias: Autotools
### Autotools ###
Makefile.in
/ar-lib
/mdate-sh
/py-compile
/test-driver
/ylwrap
.deps/
.dirstamp
autom4te.cache
/autoscan.log
/autoscan-*.log
/aclocal.m4
/compile
/config.cache
/config.guess
/config.h.in
/config.log
/config.status
/config.sub
/configure
/configure.scan
/depcomp
/install-sh
/missing
/stamp-h1
/libtool
/ltmain.sh
.libs/
/texinfo.tex
m4/libtool.m4
m4/ltoptions.m4
m4/ltsugar.m4
m4/ltversion.m4
m4/lt~obsolete.m4
# Makefile gerado
Makefile
O que estas regras de Autotools ignoram
Veja abaixo cada padrão e a razão para o incluir no seu .gitignore.
Geral
| Padrão | O que ignora |
|---|---|
Makefile.in |
Geral |
/ar-lib |
Geral |
/mdate-sh |
Geral |
/py-compile |
Geral |
/test-driver |
Geral |
/ylwrap |
Geral |
.deps/ |
Geral |
.dirstamp |
Geral |
autom4te.cache |
Geral |
/autoscan.log |
Geral |
/autoscan-*.log |
Geral |
/aclocal.m4 |
Geral |
/compile |
Geral |
/config.cache |
Geral |
/config.guess |
Geral |
/config.h.in |
Geral |
/config.log |
Geral |
/config.status |
Geral |
/config.sub |
Geral |
/configure |
Geral |
/configure.scan |
Geral |
/depcomp |
Geral |
/install-sh |
Geral |
/missing |
Geral |
/stamp-h1 |
Geral |
/libtool |
Geral |
/ltmain.sh |
Geral |
.libs/ |
Geral |
/texinfo.tex |
Geral |
m4/libtool.m4 |
Geral |
m4/ltoptions.m4 |
Geral |
m4/ltsugar.m4 |
Geral |
m4/ltversion.m4 |
Geral |
m4/lt~obsolete.m4 |
Geral |
Makefile |
Makefile gerado |
Como utilizar este .gitignore para Autotools
- Copie as regras de Autotools acima ou descarregue o ficheiro diretamente.
- Crie um ficheiro com o nome .gitignore na raiz do seu repositório Git e cole nele as regras.
- Se o Git já acompanhar alguns desses ficheiros, execute git rm -r --cached . e faça um novo commit: o Git só aplica regras de exclusão aos ficheiros que ainda não acompanha.
- Faça commit do .gitignore para que toda a equipa utilize as mesmas regras.