Mercurial > hg
comparison contrib/plan9/mkfile @ 16383:f5dd179bfa4a
plan9: initial support for plan 9 from bell labs
This patch contains support for Plan 9 from Bell Labs. A README is
provided in contrib/plan9 which describes the port in greater detail.
A new extension is also provided named factotum which permits the
factotum(4) authentication agent to provide credentials for HTTP
repositories. This extension is also applicable to other POSIX
platforms which make use of Plan 9 from User Space (aka plan9ports).
author | Steven Stallion <sstallion@gmail.com> |
---|---|
date | Sun, 08 Apr 2012 12:43:41 -0700 |
parents | |
children | f9262456fb01 |
comparison
equal
deleted
inserted
replaced
16382:f542d291c4f2 | 16383:f5dd179bfa4a |
---|---|
1 APE=/sys/src/ape | |
2 <$APE/config | |
3 | |
4 PYTHON=python | |
5 PYTHONBIN=/rc/bin | |
6 SH=ape/psh | |
7 | |
8 PURE=--pure | |
9 ROOT=../.. | |
10 | |
11 # This is slightly underhanded; Plan 9 does not support GNU gettext nor | |
12 # does it support dynamically loaded extension modules. We work around | |
13 # this by calling build_py and build_scripts directly; this avoids | |
14 # additional platform hacks in setup.py. | |
15 build:VQ: | |
16 @{ | |
17 cd $ROOT | |
18 $SH -c '$PYTHON setup.py $PURE build_py build_scripts' | |
19 } | |
20 | |
21 clean:VQ: | |
22 @{ | |
23 cd $ROOT | |
24 $SH -c '$PYTHON setup.py $PURE clean --all' | |
25 } | |
26 | |
27 install:VQ: build | |
28 @{ | |
29 cd $ROOT | |
30 $SH -c '$PYTHON setup.py $PURE install \ | |
31 --install-scripts $PYTHONBIN \ | |
32 --skip-build' \ | |
33 --force | |
34 } | |
35 mkdir -p /lib/mercurial/hgrc.d | |
36 dircp hgrc.d /lib/mercurial/hgrc.d | |
37 cp 9diff /rc/bin |