]> git.ipfire.org Git - thirdparty/kmod.git/commit
configure: manage libkmod.pc.in and version.py.in via AC_CONFIG_FILES
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 21 Feb 2023 13:19:29 +0000 (13:19 +0000)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Wed, 22 Feb 2023 00:35:42 +0000 (16:35 -0800)
commite4c1a5b2998bc2c9dbcff8d62f121d1f8f5f4fe5
tree2372367c1356c2c860af8b88aaedabf0d5553394
parent06e6f167c211106212290aa7980880f972d71ba2
configure: manage libkmod.pc.in and version.py.in via AC_CONFIG_FILES

Replace the manual sed command, build rules and dist/clean for using
AC_CONFIG_FILES. It does the exact same thing, with an added bonus...

Currently we're missing version.py.in in the EXTRA_DIST. Thus a simple
"touch Makefile" should retrigger the regeneration of version.py. Which
would presumably fail, since the input file isn't in the distribution
tarball.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Makefile.am
configure.ac