# 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}"