diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 19:33:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 19:33:32 +0000 |
commit | 8bb05ac73a5b448b339ce0bc8d396c82c459b47f (patch) | |
tree | 1fdda006866bca20d41cb206767ea5241e36852f /libsmartcols/meson.build | |
parent | Adding debian version 2.39.3-11. (diff) | |
download | util-linux-8bb05ac73a5b448b339ce0bc8d396c82c459b47f.tar.xz util-linux-8bb05ac73a5b448b339ce0bc8d396c82c459b47f.zip |
Merging upstream version 2.40.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libsmartcols/meson.build')
-rw-r--r-- | libsmartcols/meson.build | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/libsmartcols/meson.build b/libsmartcols/meson.build index 122b1e8..bedd6da 100644 --- a/libsmartcols/meson.build +++ b/libsmartcols/meson.build @@ -11,6 +11,18 @@ configure_file( install_dir : join_paths(get_option('includedir'), 'libsmartcols'), ) +scols_bison = generator( + bison, + output : ['@BASENAME@.c', '@BASENAME@.h'], + arguments : ['@INPUT@', '--output=@OUTPUT0@', '--defines=@OUTPUT1@']) +scols_parser_c = scols_bison.process('src/filter-parser.y') + +scols_flex = generator( + flex, + output : ['@BASENAME@.c', '@BASENAME@.h'], + arguments : ['--outfile=@OUTPUT0@', '--header-file=@OUTPUT1@', '@INPUT@']) +scols_scanner_c = scols_flex.process('src/filter-scanner.l') + lib_smartcols_sources = ''' src/smartcolsP.h src/iter.c @@ -26,7 +38,12 @@ lib_smartcols_sources = ''' src/grouping.c src/walk.c src/init.c -'''.split() + src/filter.c + src/filter-param.c + src/filter-expr.c +'''.split() \ + + scols_parser_c + scols_scanner_c + libsmartcols_sym = 'src/libsmartcols.sym' libsmartcols_sym_path = '@0@/@1@'.format(meson.current_source_dir(), libsmartcols_sym) @@ -55,3 +72,5 @@ if build_libsmartcols meson.override_dependency('smartcols', smartcols_dep) endif endif + +manadocs += ['libsmartcols/scols-filter.5.adoc'] |