commit - e5d47e6e15c72b816315e520a3b7756babf9deb2
commit + 1b7f98fb307ba8f3271a5051f05395ac99056b26
blob - ec528bd4103bc1be09ec1798cfb9f58b55ef7e65
blob + b098d3682b89ecab8bd6885aad0703786efda3e0
--- unix/make/Makefile.regexp
+++ unix/make/Makefile.regexp
regaux.$O\
rregexec.$O\
rregsub.$O\
- rregaux.$O\
HFILES=\
regexp9.h\
blob - 9c142d44a7be8d74bb3b2b6a32eff62b2a641fff
blob + 4d15d10038f9768dae8bb2c97ddaf93c75a7979d
--- unix/make/Makefile.utf
+++ unix/make/Makefile.utf
all: $(LIB)
install: $(LIB)
- test -d $(PREFIX)/man/man3 || mkdir $(PREFIX)/man/man3
+ mkdir -p $(PREFIX)/man/man3 $(PREFIX)/man/man7
install -c -m 0644 isalpharune.3 $(PREFIX)/man/man3/isalpharune.3
install -c -m 0644 utf.7 $(PREFIX)/man/man7/utf.7
install -c -m 0644 rune.3 $(PREFIX)/man/man3/rune.3
blob - 4f63a77ac5610b0b015b3cd40ffdb4cc3e166945
blob + 58b86e54fc1a9131c1c2a3d9b8675efd95dad4ba
--- unix/mkfile
+++ unix/mkfile
regexp) t=libregexp ;;
*) t=lib$target ;;
esac
- mkdir $t || true
- rm $t/* || true
+ #
+ mkdir -p $t
+ rm -f $t/* || true
cd $t
mk -f ../mkfile.$target
+ #
case $target in
bio) d=$PLAN9/src/$t;;
regexp) d=$PLAN9/src/$t;;
utf) d=$PLAN9/src/lib9/$target ;;
mk) d=$PLAN9/src/cmd/mk ;;
esac
+ #
for i in `ls -p $d/*.c`
do
if [ ! -f $i ]
rm $t/* || true
cd $t
mk -f ../mkfile.$target
-
+
+%.install:V:
+ mk $stem
+ case $stem in
+ mk) t=mk ;;
+ regexp) t=libregexp ;;
+ *) t=lib$stem ;;
+ esac
+ (cd $t; make install)
+
lib%.tgz:
mk $stem
tar cf - lib$stem |gzip >lib$stem.tgz
blob - d970a246fb5ef7baa1cb1fa78b399c4a9abec810
blob + 36d4e8df391f12d451c7f41958a72763c452494a
--- unix/mkfile.fmt
+++ unix/mkfile.fmt
fmt.h\
fmtdef.h\
nan.h\
- print.3\
+ plan9.h\
fmtinstall.3\
+ print.3\
all:V: $TARG
NOTICE: ../NOTICE.fmt
cp $prereq $target
-fmt.h: ../fmt.h
- cp $prereq $target
-
-fmt.c: $PLAN9/src/lib9/fmt/fmt.c
- cat $prereq | sed "/'u',.*__flagfmt/ s/__flagfmt/__ifmt/" >$target
blob - 09d064d7aaa7d75a7e513a0a5f76edcaf91c28e0
blob + 17fd970d43fd1d5f56babb6e27a3f49551ad4dd6
--- unix/mkfile.mk
+++ unix/mkfile.mk
NOTICE: ../NOTICE.mk
cp $prereq $target
-sys.h: $PLAN9/src/cmd/mk/sys.h.std
+sys.h: $PLAN9/src/cmd/mk/sys.std.h
cp $prereq $target
blob - de813087196b61c32d69d9893a77cdd87c9bc9a2
blob + 8683422719a348018048871eb1c45fb32dc56305
--- unix/mkfile.regexp
+++ unix/mkfile.regexp
%: $PLAN9/man/man7/%
cp $prereq $target
+regexp9.3: $PLAN9/man/man3/regexp.3
+ cp $prereq $target
+
+regexp9.7: $PLAN9/man/man7/regexp.7
+ cp $prereq $target
+
%: ../make/%
cp $prereq $target
NOTICE: ../NOTICE.regexp
cp $prereq $target
-lib9.h: $PLAN9/src/libregexp/lib9.h
+lib9.h: $PLAN9/src/libregexp/lib9.std.h
cp $prereq $target
+
blob - bb8e438f3f176798681b2dfce22239917af6a860
blob + 23ed764e2e5b4df7a94cc53e423fb3630d428771
--- unix/mkfile.utf
+++ unix/mkfile.utf
README\
Makefile\
`{ls -p $PLAN9/src/lib9/utf/*.c}\
+ plan9.h\
utf.h\
utfdef.h\
isalpharune.3\
- utf.7\
rune.3\
runestrcat.3\
+ utf.7\
all:V: $TARG
NOTICE: ../NOTICE.utf
cp $prereq $target
-utf.h: ../utf.h
+utf.h: $PLAN9/include/utf.h
cp $prereq $target