From 6566fa471ece76558fa2a676137aa497b26a705a Mon Sep 17 00:00:00 2001 From: Michal Suchanek Date: Tue, 10 Sep 2024 16:15:09 +0200 Subject: [PATCH] pkgconfig: Remove kmod.pc There is only one remaining variable which can be printed with a depmod option, remove the file. Signed-off-by: Michal Suchanek --- Makefile.am | 1 - configure.ac | 1 - meson.build | 11 ----------- tools/kmod.pc.in | 5 ----- 4 files changed, 18 deletions(-) delete mode 100644 tools/kmod.pc.in diff --git a/Makefile.am b/Makefile.am index 213a1fe6..3c2dc67e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -121,7 +121,6 @@ libkmod_libkmod_internal_la_DEPENDENCIES = $(libkmod_libkmod_la_DEPENDENCIES) libkmod_libkmod_internal_la_LIBADD = $(libkmod_libkmod_la_LIBADD) pkgconfig_DATA = libkmod/libkmod.pc -noarch_pkgconfig_DATA = tools/kmod.pc bashcompletiondir=@bashcompletiondir@ dist_bashcompletion_DATA = \ diff --git a/configure.ac b/configure.ac index c204570d..eaa4e80d 100644 --- a/configure.ac +++ b/configure.ac @@ -312,7 +312,6 @@ AC_CONFIG_FILES([ libkmod/docs/Makefile libkmod/docs/version.xml libkmod/libkmod.pc - tools/kmod.pc ]) diff --git a/meson.build b/meson.build index d4ebfd42..4f66bf05 100644 --- a/meson.build +++ b/meson.build @@ -414,17 +414,6 @@ kmod = executable( install : get_option('tools'), ) -_kmod_variables = [ - 'module_directory=' + moduledir, -] - -pkg.generate( - name : 'kmod', - description : 'Tools to deal with kernel modules', - install_dir : join_paths(get_option('datadir'), 'pkgconfig'), - variables : _kmod_variables, -) - _tools = [ 'depmod', 'insmod', diff --git a/tools/kmod.pc.in b/tools/kmod.pc.in deleted file mode 100644 index 96a4de0e..00000000 --- a/tools/kmod.pc.in +++ /dev/null @@ -1,5 +0,0 @@ -module_directory=@module_directory@ - -Name: kmod -Description: Tools to deal with kernel modules -Version: @VERSION@