From: Ben Gras Date: Mon, 25 Apr 2011 12:18:36 +0000 (+0200) Subject: OBJDIR-clean generating of .gitignore X-Git-Tag: v3.2.0~567 X-Git-Url: http://zhaoyanbai.com/repos/doc/mandoc_char.7.html?a=commitdiff_plain;h=7db58ddc195e37adbb4f6adda99e239b797b46d8;p=minix.git OBJDIR-clean generating of .gitignore By Antoine Leca --- diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index 074e01033..8f58656b5 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -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