There is a number of various data files under
data/ in the source tree. Those are related to systemd, udev, environment, dbus, and so on. The files are generated by invoking the
Makefile in the
data directory and overriding variables in the command line. Examples:
We already use autotools as a build system for
cmd/ and the packaging does set the relevant configure options in arguments to
configure. Additionally, the installation of
data files happens as a separate step.
Explore whether it would be possible to reuse autotools (or any other common build system, provided it’s used in the rest the codebase) for generating and installing data files.