scons: fix a build error introduced in last commit
This commit is contained in:
parent
4edb857af9
commit
78f279a717
|
@ -128,6 +128,9 @@ else:
|
||||||
Export('env')
|
Export('env')
|
||||||
fceux = SConscript('src/SConscript')
|
fceux = SConscript('src/SConscript')
|
||||||
# Install rules
|
# Install rules
|
||||||
|
if prefix == None:
|
||||||
|
prefix = "/usr/local"
|
||||||
|
|
||||||
exe_suffix = ''
|
exe_suffix = ''
|
||||||
if env['PLATFORM'] == 'win32':
|
if env['PLATFORM'] == 'win32':
|
||||||
exe_suffix = '.exe'
|
exe_suffix = '.exe'
|
||||||
|
@ -146,9 +149,6 @@ env.Command(fceux_h_dst, fceux_h_src, [Copy(fceux_h_dst, fceux_h_src)])
|
||||||
env.Command(fceux_dst, fceux_src, [Copy(fceux_dst, fceux_src)])
|
env.Command(fceux_dst, fceux_src, [Copy(fceux_dst, fceux_src)])
|
||||||
env.Command(auxlib_dst, auxlib_src, [Copy(auxlib_dst, auxlib_src)])
|
env.Command(auxlib_dst, auxlib_src, [Copy(auxlib_dst, auxlib_src)])
|
||||||
|
|
||||||
if prefix == None:
|
|
||||||
prefix = "/usr/local"
|
|
||||||
|
|
||||||
man_src = 'documentation/fceux.6'
|
man_src = 'documentation/fceux.6'
|
||||||
man_dst = prefix + '/share/man/man6/fceux.6'
|
man_dst = prefix + '/share/man/man6/fceux.6'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue