blob: ac2c7ed8d589225d9b2f86950ca7acc3b11c7253 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Add the following to your .bashrc:
#
# dxo-init ()
# {
# DXO_PATH=~/dev/xorg
# . ${DXO_PATH}/dxo/dxo-init
# }
#
# Then simply executing dxo-init will setup the X.Org development
# environment.
#
# Symlinks that redirect gcc & friends to ccache should be installed in
# /usr/lib/ccache
#
# Make sure distcc is installed and works properly.
DXO_PREFIX=${DXO_PATH}/prefix
DXO_SCRIPTS=${DXO_PATH}/dxo
ACLOCAL="aclocal -I ${DXO_PREFIX}/share/aclocal/"
PKG_CONFIG_PATH=${DXO_PREFIX}/lib/pkgconfig
PATH=/usr/lib/ccache:${DXO_SCRIPTS}:${PATH}
#CCACHE_PREFIX=distcc
export ACLOCAL
export CCACHE_PREFIX
export PKG_CONFIG_PATH
export PATH
export DXO_SCRIPTS
export DXO_PATH
export DXO_PREFIX
echo "Welcome to the X.Org development environment."
cmds=`find ${DXO_SCRIPTS} -maxdepth 1 -type f -executable ! -name \*~ -printf '%f '`
echo "Available commands: ${cmds}"
|