mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-06 09:37:31 +00:00
Scons: no longer copy lyx.exe to lyx-qt2.exe
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16473 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d541c89914
commit
911df6bc1c
@ -1758,7 +1758,7 @@ if build_lyx:
|
||||
# Build lyx with given frontend
|
||||
#
|
||||
lyx = env.Program(
|
||||
target = '$BUILDDIR/$frontend/lyx',
|
||||
target = '$BUILDDIR/lyx',
|
||||
source = ['$BUILDDIR/common/main.C'] + \
|
||||
utils.createResFromIcon(env, 'lyx_32x32.ico', '$LOCALLIBPATH/lyx.rc'),
|
||||
LIBS = [
|
||||
@ -1778,10 +1778,6 @@ if build_lyx:
|
||||
socket_libs +
|
||||
system_libs
|
||||
)
|
||||
# [/path/to/lyx.ext] => lyx-qt3.ext
|
||||
target_name = os.path.split(str(lyx[0]))[1].replace('lyx', 'lyx-%s' % frontend)
|
||||
Alias('lyx', env.Command(os.path.join('$BUILDDIR', target_name), lyx,
|
||||
[Copy('$TARGET', '$SOURCE')]))
|
||||
Alias('lyx', lyx)
|
||||
else:
|
||||
# define lyx even if lyx is not built with rebuild=no
|
||||
|
Loading…
Reference in New Issue
Block a user