Update build instructions

This commit is contained in:
matthieu
2016-10-14 18:29:18 +00:00
parent 97b021efa8
commit 0bdf08793d

21
README
View File

@@ -60,10 +60,10 @@ Xenocara Makefiles take care of that using the 'build' target.
The following steps will build and install everything for the first time.
cd xenocara
make bootstrap
cd /usr/xenocara
doas make bootstrap
make obj
make build
doas make build
If you want to use another obj directory see below.
@@ -90,13 +90,6 @@ drift will cause various problems during builds.
To build Xenocara, you need to have /usr/X11R6/bin in your PATH.
Sudo/doas
If the SUDO variable in /etc/mk.conf points to your sudo(8) or doas(8)
binary, 'make build' can be run as a normal user. It will raise its
privileges whenever needed. Otherwise, you need to run make build as
root.
If you have installed the full Xenocara X sets on your system, you
don't need to build all of Xenocara to patch one element. You can go
to any module sub-directory and run 'make build' from there.
@@ -123,7 +116,7 @@ configure.ac mostly), you need to rebuild the configure script and
makefiles skeletons. For that use the following command in the
directory where you edited the autotools source files:
env XENOCARA_RERUN_AUTOCONF=Yes make -f Makefile.bsd-wrapper build
doas env XENOCARA_RERUN_AUTOCONF=Yes make -f Makefile.bsd-wrapper build
You can also set XENOCARA_RERUN_AUTOCONF in /etc/mk.conf or in the
environment to force the regeneration of configure scripts
@@ -144,7 +137,7 @@ To recover from this in one package:
make -f Makefile.bsd-wrapper cleandir
mkdir XOBJDIR
make -f Makefile.bsd-wrapper obj
make -f Makefile.bsd-wrapper build
doas make -f Makefile.bsd-wrapper build
or from the root of the xenocara tree:
@@ -152,7 +145,7 @@ or from the root of the xenocara tree:
make cleandir
mkdir XOBJDIR
make obj
make build
doas make build
for more desperate cases, remove all files from XSRCDIR not in CVS:
@@ -203,4 +196,4 @@ The core dump will be in /var/crash.
See also <http://xorg.freedesktop.org/wiki/Development/Documentation/ServerDebugging>
--
$OpenBSD: README,v 1.36 2016/01/18 18:01:37 matthieu Exp $
$OpenBSD: README,v 1.37 2016/10/14 18:29:18 matthieu Exp $