drivers/ramdisk/Makefile fixup

Change-Id: I481830f19b650ff0d93bf319ca4d8e901657b8f8
This commit is contained in:
Lionel Sambuc 2013-01-17 15:47:23 +01:00
parent 1bbba6353d
commit f0a513440d

View file

@ -97,10 +97,12 @@ ${etc}: ${NETBSDSRCDIR}/etc/${etc}
# 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