There is a proper meson-mode now.
-# Attention, emacs, please use -*- mode: python -*-
-# (even though this isn't actually Python code)
-
libfuse_headers = [ 'fuse.h', 'fuse_common.h', 'fuse_lowlevel.h',
'fuse_opt.h', 'cuse_lowlevel.h' ]
-# Attention, emacs, please use -*- mode: python -*-
-# (even though this isn't actually Python code)
-
libfuse_sources = ['fuse.c', 'fuse_i.h', 'fuse_loop.c', 'fuse_loop_mt.c',
'fuse_lowlevel.c', 'fuse_misc.h', 'fuse_opt.c',
'fuse_signals.c', 'buffer.c', 'cuse_lowlevel.c',
-# Attention, emacs, please use -*- mode: python -*-
-# (even though this isn't actually Python code)
-
project('libfuse3', 'c', version: '3.0.2',
meson_version: '>= 0.38',
default_options: [ 'buildtype=plain' ])
-# Attention, emacs, please use -*- mode: python -*-
-# (even though this isn't actually Python code)
-
# Compile helper programs
td = []
foreach prog: [ 'test_write_cache', 'test_setattr' ]
-# Attention, emacs, please use -*- mode: python -*-
-# (even though this isn't actually Python code)
-
# we re-use mount_util.c from the library, but do want to keep ourself
# as stand-alone as possible. in order to make an out-of-source build
# possible, we "generate" the file from its original location by