sdl: include fceux-net-server binary and manpage in install scripts
This commit is contained in:
parent
4415f95227
commit
349eb7b933
|
@ -165,6 +165,9 @@ if env['PLATFORM'] == 'win32':
|
||||||
fceux_src = 'src/fceux' + exe_suffix
|
fceux_src = 'src/fceux' + exe_suffix
|
||||||
fceux_dst = 'bin/fceux' + exe_suffix
|
fceux_dst = 'bin/fceux' + exe_suffix
|
||||||
|
|
||||||
|
fceux_net_server_src = 'fceux-net-server' + exe_suffix
|
||||||
|
fceux_net_server_dst = 'bin/fceux-net-server' + exe_suffix
|
||||||
|
|
||||||
auxlib_src = 'src/auxlib.lua'
|
auxlib_src = 'src/auxlib.lua'
|
||||||
auxlib_dst = 'bin/auxlib.lua'
|
auxlib_dst = 'bin/auxlib.lua'
|
||||||
auxlib_inst_dst = prefix + '/share/fceux/auxlib.lua'
|
auxlib_inst_dst = prefix + '/share/fceux/auxlib.lua'
|
||||||
|
@ -174,19 +177,24 @@ fceux_h_dst = 'bin/fceux.chm'
|
||||||
|
|
||||||
env.Command(fceux_h_dst, fceux_h_src, [Copy(fceux_h_dst, fceux_h_src)])
|
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(fceux_net_server_dst, fceux_net_server_src, [Copy(fceux_net_server_dst, fceux_net_server_src)])
|
||||||
env.Command(auxlib_dst, auxlib_src, [Copy(auxlib_dst, auxlib_src)])
|
env.Command(auxlib_dst, auxlib_src, [Copy(auxlib_dst, auxlib_src)])
|
||||||
|
|
||||||
man_src = 'documentation/fceux.6'
|
man_src = 'documentation/fceux.6'
|
||||||
|
man_net_src = 'documentation/fceux-net-server.6'
|
||||||
man_dst = prefix + '/share/man/man6/fceux.6'
|
man_dst = prefix + '/share/man/man6/fceux.6'
|
||||||
|
man_net_dst = prefix + '/share/man/man6/fceux-net-server.6'
|
||||||
|
|
||||||
share_src = 'output/'
|
share_src = 'output/'
|
||||||
share_dst = prefix + '/share/fceux/'
|
share_dst = prefix + '/share/fceux/'
|
||||||
|
|
||||||
env.Install(prefix + "/bin/", fceux)
|
env.Install(prefix + "/bin/", fceux)
|
||||||
|
env.Install(prefix + "/bin/", "fceux-net-server")
|
||||||
# TODO: Where to put auxlib on "scons install?"
|
# TODO: Where to put auxlib on "scons install?"
|
||||||
env.Alias('install', env.Command(auxlib_inst_dst, auxlib_src, [Copy(auxlib_inst_dst, auxlib_src)]))
|
env.Alias('install', env.Command(auxlib_inst_dst, auxlib_src, [Copy(auxlib_inst_dst, auxlib_src)]))
|
||||||
env.Alias('install', env.Command(share_dst, share_src, [Copy(share_dst, share_src)]))
|
env.Alias('install', env.Command(share_dst, share_src, [Copy(share_dst, share_src)]))
|
||||||
env.Alias('install', env.Command(man_dst, man_src, [Copy(man_dst, man_src)]))
|
env.Alias('install', env.Command(man_dst, man_src, [Copy(man_dst, man_src)]))
|
||||||
|
env.Alias('install', env.Command(man_net_dst, man_net_src, [Copy(man_net_dst, man_net_src)]))
|
||||||
env.Alias('install', (prefix + "/bin/"))
|
env.Alias('install', (prefix + "/bin/"))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue