]> www.infradead.org Git - users/sagi/libnvme.git/commitdiff
build: Remove usused pkg-config template
authorDaniel Wagner <dwagner@suse.de>
Wed, 2 Nov 2022 14:42:35 +0000 (15:42 +0100)
committerDaniel Wagner <dwagner@suse.de>
Wed, 2 Nov 2022 14:42:35 +0000 (15:42 +0100)
Meson's pkgconfig module is used to generated the pkg-config file. The
template is a left over when the project was still using Makefiles.

While at is also drop the unused command line option 'pkgconfiglibdir'

Signed-off-by: Daniel Wagner <dwagner@suse.de>
libnvme.pc.in [deleted file]
meson.build
meson_options.txt

diff --git a/libnvme.pc.in b/libnvme.pc.in
deleted file mode 100644 (file)
index a1867aa..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-prefix=@prefix@
-exec_prefix=${prefix}
-libdir=@libdir@
-includedir=@includedir@
-
-Name: @NAME@
-Version: @VERSION@
-Description: Manage "libnvme" subsystem devices (Non-volatile Memory Express)
-URL: http://github.com/linux-nvme/libnvme/
-
-Libs: -L${libdir} -lnvme
-Cflags: -I${includedir}
index 5c2e73a36d4750292b0c835dec728e6182a8f1bd..5546fa5835928b8e8ec00d48e8f85bfbc28c6331 100644 (file)
@@ -33,8 +33,6 @@ mandir     = join_paths(prefixdir, get_option('mandir'))
 bindir     = join_paths(prefixdir, get_option('bindir'))
 sysconfdir = join_paths(prefixdir, get_option('sysconfdir'))
 
-pkgconfiglibdir = get_option('pkgconfiglibdir') == '' ? join_paths(libdir, 'pkgconfig') : get_option('pkgconfiglibdir')
-
 ################################################################################
 conf = configuration_data()
 
index 0df190d7262aadf03ea1eb3ad4b53eb5228efac1..cb2e1fa797861bc024f237e3c0d73b24de204a61 100644 (file)
@@ -1,7 +1,6 @@
 # -*- mode: meson -*-
 # SPDX-License-Identifier: LGPL-2.1-or-later
 option('version-tag', type : 'string', description : 'override the git version string')
-option('pkgconfiglibdir', type : 'string', value : '', description : 'directory for standard pkg-config files')
 option('htmldir', type : 'string', value : '', description : 'directory for HTML documentation')
 option('rstdir', type : 'string', value : '', description : 'directory for ReST documentation')