mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Scons: build installer only in release mode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17870 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ae9a7bef28
commit
a01f198769
@ -2291,6 +2291,9 @@ if build_installer:
|
||||
if platform_name != 'win32':
|
||||
print 'installer target is only available for windows platform'
|
||||
Exit(1)
|
||||
if mode != 'release':
|
||||
print 'installer has to be built in release mode (use option mode=release)'
|
||||
Exit(1)
|
||||
if env.has_key('NSIS') and env['NSIS'] is not None:
|
||||
# create a builder to strip and install
|
||||
env['BUILDERS']['installer'] = Builder(generator=utils.env_nsis)
|
||||
|
Loading…
Reference in New Issue
Block a user