Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/distrib/common/Makefile.makedev,v rcsdiff: /ftp/cvs/cvsroot/src/distrib/common/Makefile.makedev,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.11 retrieving revision 1.17 diff -u -p -r1.11 -r1.17 --- src/distrib/common/Makefile.makedev 2004/05/04 03:02:17 1.11 +++ src/distrib/common/Makefile.makedev 2012/07/20 11:19:03 1.17 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile.makedev,v 1.11 2004/05/04 03:02:17 lukem Exp $ +# $NetBSD: Makefile.makedev,v 1.17 2012/07/20 11:19:03 matt Exp $ # # Makefile snippet to add ${MAKEDEVTARGETS} devices to the mtree list -# (if set), otherwise copy .OJBDIR-of-etc/MAKEDEV to ./dev +# (if set), otherwise copy .OBJDIR-of-etc/MAKEDEV to ./dev # # If this is to be used with Makefile.image, then this file should be # .include-d first. @@ -41,13 +41,14 @@ CLEANFILES+= ${MAKEDEVSPEC} ${MAKEDEVSPE # MTREECONF+= ${MAKEDEVSPEC} -${MAKEDEVSPEC}: ${MAKEDEVSCRIPT} +${MAKEDEVSPEC}: ${MAKEDEVSCRIPT} Makefile ${_MKTARGET_CREATE} - -rm -f ${.TARGET} ${.TARGET}.tmp + rm -f ${.TARGET} ${.TARGET}.tmp MACHINE=${MACHINE:Q} MACHINE_ARCH=${MACHINE_ARCH:Q} \ ${HOST_SH} ${MAKEDEVSCRIPT} -s ${MAKEDEVTARGETS} \ - | sed -e '/^\. type=dir/d' -e 's,^\.,./dev,' > ${.TARGET}.tmp \ - && sort -o ${.TARGET} ${.TARGET}.tmp + > ${.TARGET}.tmp + ${TOOL_SED} -e '/^\. type=dir/d' -e 's,^\.,./dev,' ${.TARGET}.tmp \ + | sort -o ${.TARGET} .else # ! MAKEDEVTARGETS