Browse Source

wscript: Fix install targets

waf complains about missing source files, e.g.:

   could not find 'jack/*.h' in /home/adi/jack2/common

ant_glob fixes the problem
tags/1.9.9.5
Adrian Knoth 13 years ago
parent
commit
662c55669d
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      common/wscript
  2. +1
    -1
      man/wscript

+ 1
- 1
common/wscript View File

@@ -320,7 +320,7 @@ def build(bld):
#audio_adapter_sources += ['../windows/JackPortAudioAdapter.cpp'] #audio_adapter_sources += ['../windows/JackPortAudioAdapter.cpp']
#process = create_jack_process_obj(bld, 'audioadapter', audio_adapter_sources, serverlib) #process = create_jack_process_obj(bld, 'audioadapter', audio_adapter_sources, serverlib)


bld.install_files('${PREFIX}/include/jack', 'jack/*.h')
bld.install_files('${PREFIX}/include/jack', bld.path.ant_glob('jack/*.h'))


# process jack.pc.in -> jack.pc # process jack.pc.in -> jack.pc
obj = bld.new_task_gen('subst_pc') obj = bld.new_task_gen('subst_pc')


+ 1
- 1
man/wscript View File

@@ -8,5 +8,5 @@ import os


def build(bld): def build(bld):
bld.exec_command("cd man ; sh fill_template %s" % bld.env['JACK_VERSION']) bld.exec_command("cd man ; sh fill_template %s" % bld.env['JACK_VERSION'])
bld.install_files(bld.env['MANDIR'], '*.1')
bld.install_files(bld.env['MANDIR'], bld.path.ant_glob('*.1'))



Loading…
Cancel
Save