blob: 23e34efe36f7ce04feb453fc123033fcba2b71c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
DIRS=\
lib9\
libbin\
libbio\
libdraw\
libflate\
libfmt\
libframe\
libhttpd\
libip\
libregexp\
libsec\
libthread\
libutf\
libventi\
cmd\
<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:
(cd ..; cvs up -dAP)
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
|