# doesn't have one that works with the given compiler.
sys/socket.h: socket_.h
test -d sys || mkdir sys
- rm -f $@-t $@
- cp $(srcdir)/socket_.h $@-t
- chmod a-w $@-t
- mv $@-t $@
+ cp -f $(srcdir)/socket_.h $@-t
+ mv -f $@-t $@
MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
MOSTLYCLEANDIRS += sys