]> git.lyx.org Git - features.git/commitdiff
Scons: also consider prefix option
authorBo Peng <bpeng@lyx.org>
Sun, 28 Jan 2007 07:07:57 +0000 (07:07 +0000)
committerBo Peng <bpeng@lyx.org>
Sun, 28 Jan 2007 07:07:57 +0000 (07:07 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16901 a592a061-630c-0410-9148-cb99ea01b6c8

development/scons/SConstruct

index 1a56cf332ff8c3ba66683a2163ed8cfa06f52e17..f5ca4eee945b8c64d376431f5096eab5cd53535a 100644 (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')