mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Scons: create libs directory for res file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16472 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9c162a9bc6
commit
17a36a12f9
@ -80,6 +80,9 @@ def createResFromIcon(env, icon_file, rc_file):
|
||||
''' create a rc file with icon, and return res file (windows only) '''
|
||||
if os.name == 'nt':
|
||||
rc_name = env.File(rc_file).abspath
|
||||
dir = os.path.split(rc_name)[0]
|
||||
if not os.path.isdir(dir):
|
||||
os.makedirs(dir)
|
||||
rc = open(rc_name, 'w')
|
||||
print >> rc, 'IDI_ICON1 ICON DISCARDABLE "%s"' % \
|
||||
os.path.join(env.Dir('$TOP_SRCDIR').abspath, 'development', 'win32',
|
||||
|
Loading…
Reference in New Issue
Block a user