scat: add to build
This commit is contained in:
parent
1415e19723
commit
122fda5913
2 changed files with 4 additions and 4 deletions
|
|
@ -4,7 +4,7 @@ TARG=`ls *.[cy] *.lx | egrep -v "\.tab\.c$|^x\." | sed 's/\.[cy]//; s/\.lx//'`
|
||||||
|
|
||||||
<$PLAN9/src/mkmany
|
<$PLAN9/src/mkmany
|
||||||
|
|
||||||
BUGGERED='CVS|faces|factotum|lp|ip|mailfs|scat|upas|vncv|mnihongo|mpm|index|u9fs|secstore|smugfs'
|
BUGGERED='CVS|faces|factotum|lp|ip|mailfs|upas|vncv|mnihongo|mpm|index|u9fs|secstore|smugfs'
|
||||||
DIRS=lex `ls -l |sed -n 's/^d.* //p' |egrep -v "^($BUGGERED)$"|egrep -v '^lex$'`
|
DIRS=lex `ls -l |sed -n 's/^d.* //p' |egrep -v "^($BUGGERED)$"|egrep -v '^lex$'`
|
||||||
|
|
||||||
<$PLAN9/src/mkdirs
|
<$PLAN9/src/mkdirs
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ displaypic(Picture *pic)
|
||||||
dup(p[0], 0);
|
dup(p[0], 0);
|
||||||
close(p[0]);
|
close(p[0]);
|
||||||
/* execl("/bin/page", "page", "-w", 0); */
|
/* execl("/bin/page", "page", "-w", 0); */
|
||||||
execlp("img", "img", 0);
|
execlp("img", "img", nil);
|
||||||
fprint(2, "exec failed: %r\n");
|
fprint(2, "exec failed: %r\n");
|
||||||
exits("exec");
|
exits("exec");
|
||||||
|
|
||||||
|
|
@ -43,7 +43,7 @@ displaypic(Picture *pic)
|
||||||
i = n;
|
i = n;
|
||||||
if(write(p[1], a, i)!=i)
|
if(write(p[1], a, i)!=i)
|
||||||
fprint(2, "write error: %r\n");
|
fprint(2, "write error: %r\n");
|
||||||
/* if(i == 8192) /* page aligned */ */
|
/* if(i == 8192) /* page aligned */
|
||||||
/* segfree(a, i); */
|
/* segfree(a, i); */
|
||||||
n -= i;
|
n -= i;
|
||||||
a += i;
|
a += i;
|
||||||
|
|
@ -73,7 +73,7 @@ displayimage(Image *im)
|
||||||
close(p[1]);
|
close(p[1]);
|
||||||
dup(p[0], 0);
|
dup(p[0], 0);
|
||||||
close(p[0]);
|
close(p[0]);
|
||||||
execlp("img", "img", 0);
|
execlp("img", "img", nil);
|
||||||
/* execl("/bin/page", "page", "-w", 0); */
|
/* execl("/bin/page", "page", "-w", 0); */
|
||||||
fprint(2, "exec failed: %r\n");
|
fprint(2, "exec failed: %r\n");
|
||||||
exits("exec");
|
exits("exec");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue