Browse Source

Install jack_disconnect as symlink to to jack_connect

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2044 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.71
nedko 17 years ago
parent
commit
716146bcf4
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      example-clients/SConscript

+ 6
- 0
example-clients/SConscript View File

@@ -27,6 +27,9 @@ Import('env')
# paths where include files can be found
env.AppendUnique(CPPPATH=['#/', '#/common'])

# A symlinking command
symlinkcmd = 'ln -nsf $SOURCE.name $TARGET'

#
# Source files section
#
@@ -72,6 +75,9 @@ if env['BUILD_EXAMPLES']:
clientenv.Program(example_program, example_program_source, LIBS=extra_libs[example_program])
if env['INSTALL_EXAMPLES']:
clientenv.Install(env['BINDIR'], example_program)
jack_disconnect_install_path = env['BINDIR'] + '/jack_disconnect'
env.Command(jack_disconnect_install_path, 'jack_connect', symlinkcmd)
env.Alias('install', jack_disconnect_install_path)
for example_lib, example_lib_source in example_libs.items():
lib = clientenv.SharedLibrary(example_lib, example_lib_source)
if clientenv['INSTALL_EXAMPLES']:


Loading…
Cancel
Save