Subject: Broken makefiles
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: None <Mark_Weaver@brown.edu>
List: current-users
Date: 12/08/1993 10:14:02
The change of using obj.${MACHINE} has broken many Makefiles.  The
following /bin/sh script should fix them all:

#!/bin/sh
cd /usr/src
for f in bin/ed/test/Makefile games/fortune/datfiles/Makefile \
	regress/lib/libc/db/Makefile sbin/routed/Makefile \
	usr.bin/tn3270/mset/Makefile usr.bin/tn3270/tn3270/Makefile \
	usr.sbin/named/Makefile usr.sbin/sendmail/cf/cf/Makefile \
	usr.sbin/sendmail/cf/cf/Makefile.dist \
	sys/arch/pmax/conf/Makefile.pmax sys/arch/pmax/stand/Makefile \
	gnu/games/chess/Makefile gnu/libexec/uucp/Makefile.inc \
	gnu/usr.bin/gcc2/Makefile.cc1 gnu/usr.bin/groff/Makefile.cfg \
	gnu/usr.bin/rcs/Makefile.inc share/zoneinfo/Makefile
do
    mv $f $f.mhw1 && sed -e 's|/obj/|/obj.${MACHINE}/|' $f.mhw1 > $f
done

--------------------------------------------------------------------
Email: Mark_Weaver@brown.edu           | Brown University
PGP Key: finger mhw@cs.brown.edu       | Dept of Computer Science

------------------------------------------------------------------------------