mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-06 09:37:31 +00:00
Scons: create libs directory for res file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16471 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7f0d11f7e3
commit
d541c89914
@ -81,6 +81,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