version 1.36, 2016/01/18 18:01:37 |
version 1.37, 2016/10/14 18:29:18 |
|
|
|
|
The following steps will build and install everything for the first time. |
The following steps will build and install everything for the first time. |
|
|
cd xenocara |
cd /usr/xenocara |
make bootstrap |
doas make bootstrap |
make obj |
make obj |
make build |
doas make build |
|
|
If you want to use another obj directory see below. |
If you want to use another obj directory see below. |
|
|
|
|
|
|
To build Xenocara, you need to have /usr/X11R6/bin in your PATH. |
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 |
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 |
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. |
to any module sub-directory and run 'make build' from there. |
|
|
makefiles skeletons. For that use the following command in the |
makefiles skeletons. For that use the following command in the |
directory where you edited the autotools source files: |
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 |
You can also set XENOCARA_RERUN_AUTOCONF in /etc/mk.conf or in the |
environment to force the regeneration of configure scripts |
environment to force the regeneration of configure scripts |
|
|
make -f Makefile.bsd-wrapper cleandir |
make -f Makefile.bsd-wrapper cleandir |
mkdir XOBJDIR |
mkdir XOBJDIR |
make -f Makefile.bsd-wrapper obj |
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: |
or from the root of the xenocara tree: |
|
|
|
|
make cleandir |
make cleandir |
mkdir XOBJDIR |
mkdir XOBJDIR |
make obj |
make obj |
make build |
doas make build |
|
|
for more desperate cases, remove all files from XSRCDIR not in CVS: |
for more desperate cases, remove all files from XSRCDIR not in CVS: |
|
|