Change-Id: I481830f19b650ff0d93bf319ca4d8e901657b8f8
# LSC Force the regeneration of the proto file as it seems sometimes
# they are not copied over as needed.
+# LSC The test is needed; otherwise install complains about src and dst
+# being the same, during in-tree builds
# LSC ramdisk rc file != /etc/rc && mtab not empty!
.for file in ${EXTRA} ${PROTO} ${PROTO_FILES}
${file}: ${NETBSDSRCDIR}/drivers/ramdisk/${file} .PHONY
- ${INSTALL} $> $@
+ [ -e $@ ] || ${INSTALL} $> $@
.endfor
# Generate dependencies rules for dynamic libraries, if needed