ramdisk Makefile: CLEANFILES fix

This commit is contained in:
Ben Gras 2013-02-07 23:08:37 +01:00
parent 702d90b6fe
commit 46e7c7a920

View file

@ -105,8 +105,8 @@ ${etc}: ${NETBSDSRCDIR}/etc/${etc}
# we are building out-of-tree and the contents should be copied # we are building out-of-tree and the contents should be copied
# unconditionally in case the contents have changed after the first copy. # unconditionally in case the contents have changed after the first copy.
.if ${.CURDIR} != ${.OBJDIR} .if ${.CURDIR} != ${.OBJDIR}
CLEANFILES += ${EXTRA} ${PROTO} ${PROTO_FILES}
.for file in ${EXTRA} ${PROTO} ${PROTO_FILES} .for file in ${EXTRA} ${PROTO} ${PROTO_FILES}
CLEANFILES += ${.OBJDIR}/${file}
${file}: ${NETBSDSRCDIR}/drivers/ramdisk/${file} .PHONY ${file}: ${NETBSDSRCDIR}/drivers/ramdisk/${file} .PHONY
${INSTALL} $> $@ ${INSTALL} $> $@
.endfor .endfor