Skip to content

Commit

Permalink
configure.ac : Avoid rebuilding existing man=dist build products due …
Browse files Browse the repository at this point in the history
…to their timestamp dependencies

Signed-off-by: Jim Klimov <[email protected]>
  • Loading branch information
jimklimov committed Jun 15, 2024
1 parent ef84877 commit d456aa6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2840,6 +2840,8 @@ dnl not fail if we have no tools to generate it (so add to SKIP list).
AC_MSG_NOTICE([Requested, and can, install pre-built distributed copies of ${nut_doc_build_target_base} documentation])
DOC_SKIPBUILD_LIST="${DOC_SKIPBUILD_LIST} ${nut_doc_build_target_base}"
DOC_INSTALL_DISTED_MANS="yes"
dnl Avoid rebuilding existing build products due to their timestamp dependencies:
touch -r "${abs_srcdir}"/docs/man/Makefile.am "${abs_srcdir}"/docs/man/*.{1,2,3,4,5,6,7,8,9}* "${abs_srcdir}"/docs/man/*.{txt,xml,html,pdf} || true
else
if test "${can_build_doc_man}" = yes ; then
AC_MSG_RESULT(yes)
Expand Down

0 comments on commit d456aa6

Please sign in to comment.