From 60df6ba3b08ea7fb66baa00ebc068d20066aaa27 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 5 Dec 2017 18:45:06 -0600 Subject: [PATCH] build: move manpages to man subdir --- Makefile.am | 4 +++- pkgconf.1 => man/pkgconf.1 | 0 meson.build | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) rename pkgconf.1 => man/pkgconf.1 (100%) diff --git a/Makefile.am b/Makefile.am index 545e69b..1d5c067 100644 --- a/Makefile.am +++ b/Makefile.am @@ -132,7 +132,9 @@ libpkgconf_la_SOURCES = \ libpkgconf/path.c libpkgconf_la_LDFLAGS = -no-undefined -version-info 2:0:0 -export-symbols-regex '^pkgconf_' -dist_man_MANS = pkgconf.1 +dist_man_MANS = \ + man/pkgconf.1 + pkgconf_LDADD = libpkgconf.la pkgconf_SOURCES = main.c getopt_long.c pkgconf_CPPFLAGS = -Ilibpkgconf diff --git a/pkgconf.1 b/man/pkgconf.1 similarity index 100% rename from pkgconf.1 rename to man/pkgconf.1 diff --git a/meson.build b/meson.build index 0b138f1..cc2136d 100644 --- a/meson.build +++ b/meson.build @@ -91,5 +91,5 @@ configure_file(input : 'Kyuafile.in', output : 'Kyuafile', configuration : cdata subdir('tests') -install_man('pkgconf.1') +install_man('man/pkgconf.1') install_data('pkg.m4', install_dir: 'share/aclocal')