code: pyhg

ref: 0e6e44b06400e320145eb5115edce054cfd26d1f
dir: /sys/src/cmd/hg/mkfile/

View raw version
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!