aboutsummaryrefslogtreecommitdiff
path: root/unix/mkfile.utf
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.utf
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.utf')
-rw-r--r--unix/mkfile.utf12
1 files changed, 11 insertions, 1 deletions
diff --git a/unix/mkfile.utf b/unix/mkfile.utf
index 581c4e09..a001da43 100644
--- a/unix/mkfile.utf
+++ b/unix/mkfile.utf
@@ -1,10 +1,11 @@
MAKEALL=`{cd ../make; ls Make.*}
+CFILES=`{9 ls -p $PLAN9/src/lib9/utf/*.c}
TARG=\
$MAKEALL\
NOTICE\
README\
Makefile\
- `{9 ls -p $PLAN9/src/lib9/utf/*.c}\
+ $CFILES\
plan9.h\
utf.h\
utfdef.h\
@@ -23,3 +24,12 @@ utf.h: $PLAN9/include/utf.h
%: $PLAN9/src/lib9/utf/%
cp $prereq $target
+utf1.c:D: plan9.h $CFILES
+ (cat plan9.h; \
+ echo '#include <stdlib.h>'; \
+ echo '#include <string.h>'; \
+ echo '#include <unistd.h>'; \
+ echo '#define bsearch utf_bsearch'; \
+ echo '#include "utf.h"'; \
+ grep -hv '^#include' $CFILES) >$target
+