Compile with Emacs

From Apache OpenOffice Wiki
Revision as of 22:18, 8 September 2006 by Thorsten (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

If you want to compile from within (X)Emacs, it's useful to have this script (that sources the env before running dmake) installed:

#!/bin/bash

path=`pwd`
env="LinuxIntelEnv.Set.sh"
while ! test -f "$path/$env"; do
    path=`dirname $path`
done
. $path/$env
perl $SOLARENV/bin/build.pl -i debug=true

in ~/bin. Just run oobuild with compile-command as you would 'make -k' normally.

Personal tools