plan9port/src/mkfile

55 lines
640 B
Text
Raw Normal View History

2003-11-23 18:10:54 +00:00
DIRS=\
lib9\
libbin\
libbio\
libdraw\
libflate\
libfmt\
libframe\
libhttpd\
2003-11-25 02:11:11 +00:00
# libip\
2003-11-25 03:03:45 +00:00
libplumb\
2003-11-23 18:10:54 +00:00
libregexp\
libsec\
libthread\
libutf\
libventi\
2003-11-23 20:04:53 +00:00
cmd\
2003-11-23 18:10:54 +00:00
<mkdirs
MKDIRS=\
libutf\
libfmt\
libbio\
libregexp\
cmd/mk\
mkmk.sh:VD:
(
for i in $MKDIRS
do
echo cd $i
(cd $i; mk -n -a install)
echo cd ..
done
) >$target
testmkmk:V:
mk mkmk.sh
rm -f ../lib/lib*.a
mv ../bin/mk ../bin/_mk
sh -ex mkmk.sh
ls -l ../bin/mk
testcvs:V:
2003-11-23 19:49:17 +00:00
(cd ..; cvs up -dAP)
2003-11-23 18:10:54 +00:00
cp ../bin/_mk ../bin/mk
mk clean
rm ../lib/*.a
mv ../bin/mk ../bin/_mk
rm ../bin/*
PLAN9="`pwd`/.." export PLAN9
PATH=$PLAN9/bin:$PATH export PATH