OBJDIR-clean generating of .gitignore

By Antoine Leca
This commit is contained in:
Ben Gras 2011-04-25 14:18:36 +02:00
parent c50ec2b4e2
commit 7db58ddc19

View file

@ -15,7 +15,7 @@
##### "all" and "depend" targets
realinstall: realall
realall: depend
depend: .gitignore
depend: ${.CURDIR}/.gitignore
##### Basic targets
realinstall: proginstall scriptsinstall
@ -392,7 +392,7 @@ memalloc: realall
${INSTALL} ${INSTALLFLAGS} ${PROG}
.endif
.gitignore: Makefile
echo $(CLEANFILES) $(PROGS) | tr ' ' '\n' >.gitignore
${.CURDIR}/.gitignore: Makefile
echo $(CLEANFILES) $(PROGS) | tr ' ' '\n' >${.TARGET}
.endif # HOSTPROG