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:
Robin Gareus 2020-11-15 01:21:40 +01:00
parent b6ae22cfed
commit 962d8922ab
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 4 additions and 3 deletions

View File

@ -22,8 +22,9 @@ One C++ source per tool, see "example.cc" and "export.cc"
./waf
The tool is automatically compiled and deployed when installing, using the
program-name as prefix. e.g. "export.cc" becomes "ardour4-export".
(or "mixbus3-export", depending on the project configuration)
program-name as prefix. e.g. "export.cc" becomes "ardour4-export"
(or "mixbus3-export", depending on the project configuration).
Tool names must start with lower-case alphabetic letter [a-z].
Test run from the source

View File

@ -85,7 +85,7 @@ def build(bld):
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:
fn = os.path.splitext(os.path.basename(str(util)))[0]