diff --git a/doc/sphinx/Makefile.am b/doc/sphinx/Makefile.am index f5118bc43f..c252695d16 100644 --- a/doc/sphinx/Makefile.am +++ b/doc/sphinx/Makefile.am @@ -144,7 +144,7 @@ endif else if INSTALL_MANS ${MKDIR_P} ${DESTDIR}${mandir}/man8 - ${INSTALL_DATA} $(sphinxbuilddir)/man/*.8 ${DESTDIR}${mandir}/man8/ + ${INSTALL_DATA} $(man8s) ${DESTDIR}${mandir}/man8/ endif endif