]> git.ipfire.org Git - thirdparty/kmod.git/commit
make: install/uninstall tools symlinks to kmod
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 26 Jan 2024 14:43:51 +0000 (14:43 +0000)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 6 Feb 2024 17:31:16 +0000 (11:31 -0600)
commite98cef6f3f8cd6f8bfb26d147b2c209297453cca
tree6a1fa4f1eaf1bb26ad77f29b3b48132e985be790
parent607abb818a5249292f08c0e8602a5a62d12e42a5
make: install/uninstall tools symlinks to kmod

Currently we create symlinks like modprobe (pointing to kmod), during
the normal `make` build. Although those were never installed.

Add a few lines in the install-exec-hook, to ensure they're present at
`make install` time. Thus one can actually use those without additional
changes. As an added bonus, distributions can drop the similar hunk from
their packaging.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
[ Use a relative symlink ]
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Makefile.am