Some meson changes to make the installed files match autotools #203
|
@ -8,5 +8,5 @@ install_headers('libpkgconf.h',
|
|||
'iter.h',
|
||||
'bsdstubs.h',
|
||||
'libpkgconf-api.h',
|
||||
subdir : 'libpkgconf')
|
||||
subdir : 'pkgconf/libpkgconf')
|
||||
|
||||
|
|
12
meson.build
12
meson.build
|
@ -45,7 +45,7 @@ cdata.set('abs_top_builddir', meson.build_root())
|
|||
|
||||
subdir('libpkgconf')
|
||||
|
||||
libpkgconf = shared_library('pkgconf',
|
||||
libpkgconf = library('pkgconf',
|
||||
'libpkgconf/argvsplit.c',
|
||||
'libpkgconf/audit.c',
|
||||
'libpkgconf/bsdstubs.c',
|
||||
|
@ -66,6 +66,14 @@ libpkgconf = shared_library('pkgconf',
|
|||
soversion : '3',
|
||||
)
|
||||
|
||||
pkg = import('pkgconfig')
|
||||
pkg.generate(libpkgconf,
|
||||
name : 'libpkgconf',
|
||||
description : 'a library for accessing and manipulating development framework configuration',
|
||||
url: 'http://github.com/pkgconf/pkgconf',
|
||||
filebase : 'libpkgconf',
|
||||
subdirs: ['pkgconf'],
|
||||
)
|
||||
|
||||
pkgconf_exe = executable('pkgconf',
|
||||
'cli/main.c',
|
||||
|
@ -89,3 +97,5 @@ install_man('man/pkg.m4.7')
|
|||
install_man('man/pc.5')
|
||||
install_man('man/pkgconf-personality.5')
|
||||
install_data('pkg.m4', install_dir: 'share/aclocal')
|
||||
install_data('AUTHORS', install_dir: 'share/doc/pkgconf')
|
||||
install_data('README.md', install_dir: 'share/doc/pkgconf')
|
Loading…
Reference in New Issue