unix: move man pages in unix ports
This commit is contained in:
parent
9f0d3523fc
commit
f5fcdeeedf
8 changed files with 51 additions and 24 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue