. auto-generate per-directory .gitignore files based on $(CLEANFILES)
. gitignore .gitignore files except for the root one.
This commit is contained in:
parent
f3e1b1c226
commit
371624e0ec
2 changed files with 6 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -24,6 +24,8 @@ GSYMS
|
|||
GTAGS
|
||||
\#*#
|
||||
CVS
|
||||
!/.gitignore
|
||||
.gitignore
|
||||
.svn
|
||||
|
||||
boot/boot
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
##### "all" and "depend" targets
|
||||
realinstall: realall
|
||||
realall: depend
|
||||
depend: .gitignore
|
||||
|
||||
##### Basic targets
|
||||
realinstall: proginstall scriptsinstall
|
||||
|
@ -382,4 +383,7 @@ memalloc: realall
|
|||
${INSTALL} ${INSTALLFLAGS} ${PROG}
|
||||
.endif
|
||||
|
||||
.gitignore: Makefile
|
||||
echo $(CLEANFILES) $(PROGS) | tr ' ' '\n' >.gitignore
|
||||
|
||||
.endif # HOSTPROG
|
||||
|
|
Loading…
Reference in a new issue