Enforce session-util app name
This fixes an issue with some macOS that create index oe meta-data files e.g. `session_utils/._export.cc`. Besides that it increases consistency.
This commit is contained in:
parent
b6ae22cfed
commit
962d8922ab
@ -22,8 +22,9 @@ One C++ source per tool, see "example.cc" and "export.cc"
|
|||||||
./waf
|
./waf
|
||||||
|
|
||||||
The tool is automatically compiled and deployed when installing, using the
|
The tool is automatically compiled and deployed when installing, using the
|
||||||
program-name as prefix. e.g. "export.cc" becomes "ardour4-export".
|
program-name as prefix. e.g. "export.cc" becomes "ardour4-export"
|
||||||
(or "mixbus3-export", depending on the project configuration)
|
(or "mixbus3-export", depending on the project configuration).
|
||||||
|
Tool names must start with lower-case alphabetic letter [a-z].
|
||||||
|
|
||||||
|
|
||||||
Test run from the source
|
Test run from the source
|
||||||
|
@ -85,7 +85,7 @@ def build(bld):
|
|||||||
|
|
||||||
pgmprefix = bld.env['PROGRAM_NAME'].lower() + str(bld.env['MAJOR'])
|
pgmprefix = bld.env['PROGRAM_NAME'].lower() + str(bld.env['MAJOR'])
|
||||||
|
|
||||||
utils = bld.path.ant_glob('*.cc', excl=['example.cc', 'common.cc'])
|
utils = bld.path.ant_glob('[a-z]*.cc', excl=['example.cc', 'common.cc'])
|
||||||
|
|
||||||
for util in utils:
|
for util in utils:
|
||||||
fn = os.path.splitext(os.path.basename(str(util)))[0]
|
fn = os.path.splitext(os.path.basename(str(util)))[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user