diff --git a/SConstruct b/SConstruct index e3fda430..74649b35 100644 --- a/SConstruct +++ b/SConstruct @@ -165,6 +165,9 @@ if env['PLATFORM'] == 'win32': fceux_src = 'src/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_dst = 'bin/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_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)]) man_src = 'documentation/fceux.6' +man_net_src = 'documentation/fceux-net-server.6' man_dst = prefix + '/share/man/man6/fceux.6' +man_net_dst = prefix + '/share/man/man6/fceux-net-server.6' share_src = 'output/' share_dst = prefix + '/share/fceux/' env.Install(prefix + "/bin/", fceux) +env.Install(prefix + "/bin/", "fceux-net-server") # 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(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_net_dst, man_net_src, [Copy(man_net_dst, man_net_src)])) env.Alias('install', (prefix + "/bin/"))