mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Scons: print error message when scons is not called from top source directory or development/scons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16292 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
50e9a869a5
commit
f5599ea253
@ -42,9 +42,15 @@ if os.path.isfile('SConstruct'):
|
||||
top_src_dir = '../..'
|
||||
scons_dir = '.'
|
||||
# called as 'scons -f development/scons/SConstruct'
|
||||
else:
|
||||
elif os.path.isfile('configure.ac'):
|
||||
top_src_dir = '.'
|
||||
scons_dir = 'development/scons'
|
||||
else:
|
||||
print "scons can only be called from top source directory, with command:"
|
||||
print " $ scons -f development/scons/SConstruct [other options]"
|
||||
print "or from development/scons, with command:"
|
||||
print " $ scons [options]"
|
||||
Exit(1)
|
||||
|
||||
|
||||
#----------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user