Some meson changes to make the installed files match autotools #203

Merged
lazka merged 4 commits from meson-fixes into master 2020-11-29 02:42:01 +00:00
2 changed files with 12 additions and 2 deletions

View File

@ -8,5 +8,5 @@ install_headers('libpkgconf.h',
'iter.h', 'iter.h',
'bsdstubs.h', 'bsdstubs.h',
'libpkgconf-api.h', 'libpkgconf-api.h',
subdir : 'libpkgconf') subdir : 'pkgconf/libpkgconf')

View File

@ -45,7 +45,7 @@ cdata.set('abs_top_builddir', meson.build_root())
subdir('libpkgconf') subdir('libpkgconf')
libpkgconf = shared_library('pkgconf', libpkgconf = library('pkgconf',
'libpkgconf/argvsplit.c', 'libpkgconf/argvsplit.c',
'libpkgconf/audit.c', 'libpkgconf/audit.c',
'libpkgconf/bsdstubs.c', 'libpkgconf/bsdstubs.c',
@ -66,6 +66,14 @@ libpkgconf = shared_library('pkgconf',
soversion : '3', 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', pkgconf_exe = executable('pkgconf',
'cli/main.c', 'cli/main.c',
@ -89,3 +97,5 @@ install_man('man/pkg.m4.7')
install_man('man/pc.5') install_man('man/pc.5')
install_man('man/pkgconf-personality.5') install_man('man/pkgconf-personality.5')
install_data('pkg.m4', install_dir: 'share/aclocal') 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')