diff options
Diffstat (limited to 'Documentation/automake.mk')
-rw-r--r-- | Documentation/automake.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/automake.mk b/Documentation/automake.mk index 24fe63d87..6f38912f2 100644 --- a/Documentation/automake.mk +++ b/Documentation/automake.mk @@ -178,8 +178,8 @@ extract_stem_and_section = \ eval "mandir=\$$man$${section}dir"; \ test -n "$$mandir" || { echo "unknown directory for manpage section $$section"; continue; } -if HAVE_SPHINX INSTALL_DATA_LOCAL += install-man-rst +if HAVE_SPHINX install-man-rst: docs-check @$(set_mandirs); \ for rst in $(RST_MANPAGES); do \ @@ -189,6 +189,9 @@ install-man-rst: docs-check echo " $(INSTALL_DATA) $(SPHINXBUILDDIR)/man/$$stem.$$section '$(DESTDIR)'\"$$mandir/$$stem.$$section\""; \ $(INSTALL_DATA) $(SPHINXBUILDDIR)/man/$$stem.$$section '$(DESTDIR)'"$$mandir/$$stem.$$section"; \ done +else +install-man-rst: + @: endif UNINSTALL_LOCAL += uninstall-man-rst |