mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
wscript: inline top = '.' for build_i18n
'top' was a constant that was set to '.', even when inside subdirectories. It is thus not really top. I don't know if the intent was to use the actual top (which is available as bld.top_dir), but for now we make it explicit what we have and do.
This commit is contained in:
parent
5d5aa61e0f
commit
69e987909e
3 changed files with 12 additions and 15 deletions
|
|
@ -48,7 +48,6 @@ gtkmm2ext_sources = [
|
|||
]
|
||||
|
||||
# Mandatory variables
|
||||
top = '.'
|
||||
out = 'build'
|
||||
|
||||
path_prefix = 'libs/gtkmm2ext/'
|
||||
|
|
@ -100,19 +99,19 @@ def build(bld):
|
|||
mo)
|
||||
|
||||
def i18n(bld):
|
||||
autowaf.build_i18n(bld, top, 'libs/gtkmm2ext', I18N_PACKAGE, gtkmm2ext_sources,
|
||||
autowaf.build_i18n(bld, '.', 'libs/gtkmm2ext', I18N_PACKAGE, gtkmm2ext_sources,
|
||||
'Paul Davis')
|
||||
|
||||
def i18n_pot(bld):
|
||||
autowaf.build_i18n_pot(bld, top, 'libs/gtkmm2ext', I18N_PACKAGE, gtkmm2ext_sources,
|
||||
autowaf.build_i18n_pot(bld, '.', 'libs/gtkmm2ext', I18N_PACKAGE, gtkmm2ext_sources,
|
||||
'Paul Davis')
|
||||
|
||||
def i18n_po(bld):
|
||||
autowaf.build_i18n_po(bld, top, 'libs/gtkmm2ext', I18N_PACKAGE, gtkmm2ext_sources,
|
||||
autowaf.build_i18n_po(bld, '.', 'libs/gtkmm2ext', I18N_PACKAGE, gtkmm2ext_sources,
|
||||
'Paul Davis')
|
||||
|
||||
def i18n_mo(bld):
|
||||
autowaf.build_i18n_mo(bld, top, 'libs/gtkmm2ext', I18N_PACKAGE, gtkmm2ext_sources,
|
||||
autowaf.build_i18n_mo(bld, '.', 'libs/gtkmm2ext', I18N_PACKAGE, gtkmm2ext_sources,
|
||||
'Paul Davis')
|
||||
|
||||
def shutdown():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue