aboutsummaryrefslogtreecommitdiff
path: root/unix/mkfile
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2008-07-20 06:17:17 -0400
committerRuss Cox <rsc@swtch.com>2008-07-20 06:17:17 -0400
commitf5fcdeeedfd70da11a3990d3d91fe165f0bf8ef7 (patch)
tree6f1fc63a9a1b02533e553151c56eed9063433e15 /unix/mkfile
parent9f0d3523fc61e53d6348d628df6fd16a7543cec4 (diff)
downloadplan9port-f5fcdeeedfd70da11a3990d3d91fe165f0bf8ef7.tar.gz
plan9port-f5fcdeeedfd70da11a3990d3d91fe165f0bf8ef7.tar.bz2
plan9port-f5fcdeeedfd70da11a3990d3d91fe165f0bf8ef7.zip
unix: move man pages in unix ports
Diffstat (limited to 'unix/mkfile')
-rw-r--r--unix/mkfile14
1 files changed, 7 insertions, 7 deletions
diff --git a/unix/mkfile b/unix/mkfile
index 3d9d35a2..42560bb5 100644
--- a/unix/mkfile
+++ b/unix/mkfile
@@ -17,14 +17,14 @@ test-%:V:
t=$stem
path=($PLAN9/bin $path)
mk new-$t
- cd $t
switch($t){
- case bio; d=libbio
- case regexp; d=libregexp
- case fmt; d=lib9/fmt
- case utf: d=lib9/utf
- case mk; d=cmd/mk
+ case bio; d=libbio; td=libbio
+ case regexp; d=libregexp; td=libregexp
+ case fmt; d=lib9/fmt; td=libfmt
+ case utf; d=lib9/utf; td=libutf
+ case mk; d=cmd/mk; td=mk
}
+ cd $td
d=$PLAN9/src/$d
for(i in `{ls -p $d/*.c})
if(! test -f $i)
@@ -34,7 +34,7 @@ test-%:V:
if(! test -f `{echo $i | sed 's/.c$/.o/'})
echo XXX not building $i
cd ..
- rm -r $t
+ rm -r $td
lib%.tgz:V:
mk new-$stem