Scons: also consider prefix option

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16901 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2007-01-28 07:07:57 +00:00
parent 168d3ef631
commit 16d5b72ea1

View File

@ -2164,7 +2164,7 @@ if build_installer:
env['win_installer'] = os.path.join(env.Dir('$BUILDDIR').abspath, env['win_installer'])
env.Append(NSISDEFINES={
'ExeFile':env['win_installer'],
'FilesLyx':env.get('DESTDIR', r'..\..\..\..\build-msvc')
'FilesLyx':env.Dir(dest_prefix_dir).abspath
})
installer = env.installer(env['win_installer'],
'$TOP_SRCDIR/development/Win32/packaging/installer/lyx.nsi')