ref: 3debe91f3d1dd8a49ec2de5927e46e28ae9e7aad
dir: /sys/src/cmd/hg/mkfile/
default:V: none
all clean nuke install installall:V:
echo nothing to be done
none:VQ:
echo mk setup
setup:V:
mkdir -p /sys/src/cmd/python/Extra/mercurial
cp mercurial/*.c /sys/src/cmd/python/Extra/mercurial
for(i in mercurial hgext){
mkdir -p /sys/lib/python/$i
dircp $i /sys/lib/python/$i
}
mkdir -p /sys/lib/python/mercurial/templates
dircp templates /sys/lib/python/mercurial/templates
cp hg /rc/bin/hg
echo Now rebuild python!