From f5fcdeeedfd70da11a3990d3d91fe165f0bf8ef7 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 20 Jul 2008 06:17:17 -0400 Subject: unix: move man pages in unix ports --- unix/mkfile.utf | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'unix/mkfile.utf') 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 '; \ + echo '#include '; \ + echo '#include '; \ + echo '#define bsearch utf_bsearch'; \ + echo '#include "utf.h"'; \ + grep -hv '^#include' $CFILES) >$target + -- cgit v1.2.3