Don't ignore files known to git

That can cause unexpected behavior, especially with third party tools.
The ignored files will be lost if the source tree is re-imported to
another git repository, unless special care is taken.

Whitelist all non-generated makefiles.

To whitelist instfiles/pam.d/xrdp-sesman, add path to all generated
executables listed in the top-level .gitignore, sort .gitignore
alphabetically.

Add mkinstalldir, it's used by Automake on some systems.
This commit is contained in:
Pavel Roskin 2016-02-09 21:10:30 -08:00
parent 9a1dea8e50
commit ffc4efb9ce
6 changed files with 17 additions and 11 deletions

23
.gitignore vendored
View File

@ -3,6 +3,7 @@ aclocal.m4
AUTHORS
autom4te.cache/
ChangeLog
compile
config_ac.h
config_ac-h.in
config.guess
@ -10,10 +11,11 @@ config.log
config.status
config.sub
configure
compile
depcomp
.deps/
genkeymap/xrdp-genkeymap
install-sh
keygen/xrdp-keygen
*.la
.libs
libtool
@ -22,18 +24,17 @@ ltmain.sh
Makefile
Makefile.in
missing
mkinstalldirs
NEWS
*.o
README
sesman/chansrv/xrdp-chansrv
sesman/sessvc/xrdp-sessvc
sesman/tools/xrdp-dis
sesman/tools/xrdp-sesadmin
sesman/tools/xrdp-sesrun
sesman/tools/xrdp-sestest
sesman/tools/xrdp-xcon
sesman/xrdp-sesman
stamp-h1
xrdp-chansrv
xrdp-genkeymap
xrdp-keygen
xrdp-sesadmin
xrdp-sesman
xrdp-sesrun
xrdp-sessvc
xrdp-sestest
xrdp-dis
xrdp-xcon
xrdp/xrdp

1
fontdump/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
!Makefile

1
sesman/chansrv/pcsc/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
!Makefile

1
sesman/chansrv/pulse/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
!Makefile

1
tests/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
!Makefile

1
xorg/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
!Makefile