From: mickey Date: Fri, 10 May 1996 12:13:19 +0000 (+0000) Subject: simplify sed rule in 'links', so swap*.c be treated ok. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=32eee17359ccc0b97ab4a51e4545418c35a0b346;p=openbsd simplify sed rule in 'links', so swap*.c be treated ok. --- diff --git a/sys/arch/i386/conf/Makefile.i386 b/sys/arch/i386/conf/Makefile.i386 index 04fc45ba3de..20fdf14dd0e 100644 --- a/sys/arch/i386/conf/Makefile.i386 +++ b/sys/arch/i386/conf/Makefile.i386 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.i386,v 1.10 1996/05/07 12:21:36 mickey Exp $ +# $OpenBSD: Makefile.i386,v 1.11 1996/05/10 12:13:19 mickey Exp $ # $NetBSD: Makefile.i386,v 1.66 1996/02/29 20:56:16 cgd Exp $ # Makefile for OpenBSD @@ -142,7 +142,7 @@ links: sed -e 's/:.*//' -e 's/\.c/.o/' | sort -u > dontlink echo ${CFILES} | tr -s ' ' '\12' | sed 's/\.c/.o/' | \ sort -u | comm -23 - dontlink | \ - sed 's,../.*/\(.*.o\),rm -f \1; ln -s ../GENERIC/\1 \1,' > makelinks + sed 's,.*/\(.*.o\),rm -f \1; ln -s ../GENERIC/\1 \1,' > makelinks sh makelinks && rm -f dontlink # depend on APM