From f0a2fe581c174317f4b7233843fb771bd7afa843 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 27 Dec 2018 12:16:04 -0500 Subject: Makefile.am, man/local.mk: Build libopkbuild manual pages with shman --- (limited to 'man') diff --git a/man/local.mk b/man/local.mk index 20550cc..9977b86 100644 --- a/man/local.mk +++ b/man/local.mk @@ -9,28 +9,13 @@ # ob-gencontrol.1in \ # ob-buildopk.1in \ # ob-genchanges.1in -#man3_sources = \ -# ob_get_text_domain.3in \ -# ob_set_text_domain.3in \ -# ob_get_msg.3in \ -# ob_error.3in \ -# ob_warn.3in \ -# ob_info.3in \ -# ob_init_package.3in \ -# ob_parse_package_metadata.3in \ -# ob_get_binary_packages.3in \ -# ob_get_source_parameter.3in \ -# ob_get_binary_parameter.3in \ -# ob_summarize_package_arch.3in \ -# ob_summarize_package_plat.3in \ -# ob_parse_control.3in \ -# ob_parse_changelog.3in \ -# ob_validate_source_package_name.3in \ -# ob_validate_binary_package_name.3in \ -# ob_parse_version.3in \ -# ob_reduce_build_deps.3in \ -# ob_reduce_runinst_deps.3in \ -# ob_get_system_arch.3in \ -# ob_match_arch.3in \ -# ob_get_system_plat.3in \ -# ob_match_plat.3in + +man3_MANS = \ + %reldir%/ob_parse_changelog.3 \ + %reldir%/ob_parse_dep.3 + +$(man3_MANS): %reldir%/Tags + +%reldir%/Tags: $(libopkbuild_sources) $(EXTRA_libopkbuild_sources) + tools/shman.sh -s "$(PACKAGE_STRING)" -m '$(MANUAL)' -d %reldir% -t $@ \ + $(libopkbuild_sources) $(EXTRA_libopkbuild_sources) -- cgit v0.9.1