Less kludge dev.

This commit is contained in:
Jordan K. Hubbard 1995-01-28 09:17:58 +00:00
parent fadd4e9f07
commit e0b77dac9a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5990

View File

@ -13,10 +13,11 @@ LDADD = -ldialog -lncurses -lmytinfo
DPADD = ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO}
makedevs.c: dev2c.sh
mkdir -p /tmp/dev
cp ${.CURDIR}/../etc/etc.i386/MAKEDEV /tmp/dev
( cd /tmp/dev; ./MAKEDEV all)
sh ${.CURDIR}/dev2c.sh /tmp/dev > makedevs.c ; \
mkdir -p dev
cp ${.CURDIR}/../etc/etc.i386/MAKEDEV dev
( cd dev; ./MAKEDEV all )
sh ${.CURDIR}/dev2c.sh dev > makedevs.c
rm -rf dev
.include <bsd.prog.mk>