mirror of
https://github.com/aria2/aria2.git
synced 2024-11-23 18:13:32 +08:00
Always build doc/manual-src
Should sphinx-build be not available AND the man file not be prsent, then just "touch" it into existence (and warn about that)
This commit is contained in:
parent
322bd45cfb
commit
02c65e0eca
@ -1,6 +1,4 @@
|
||||
if HAVE_SPHINXBUILD
|
||||
SUBDIRS = manual-src
|
||||
endif #SPHINXBUILD
|
||||
|
||||
doc_xmlrpcdir = $(docdir)/xmlrpc
|
||||
dist_doc_xmlrpc_DATA = xmlrpc/aria2mon \
|
||||
|
@ -16,8 +16,15 @@ man_MANS = $(BUILDDIR)/man/aria2c.1
|
||||
EXTRA_DIST = $(man_MANS) aria2c.rst libaria2.rst index.rst README.rst\
|
||||
technical-notes.rst _static/default2.css mkapiref.py
|
||||
|
||||
if HAVE_SPHINXBUILD
|
||||
$(man_MANS): aria2c.rst
|
||||
$(MAKE) man
|
||||
else
|
||||
$(man_MANS):
|
||||
$(warning Building only stub man pages. Please install sphinx-build)
|
||||
if [ ! -d "$(@D)" ]; then mkdir -p "$(@D)"; fi;
|
||||
if [ ! -e "$@" ]; then touch "$@"; fi;
|
||||
endif
|
||||
|
||||
# Autogenerated rules by sphinx-quickstart
|
||||
|
||||
|
@ -16,8 +16,15 @@ mandir = @mandir@/pt
|
||||
man_MANS = $(BUILDDIR)/man/aria2c.1
|
||||
EXTRA_DIST = $(man_MANS) aria2c.rst index.rst README.rst _static/default2.css
|
||||
|
||||
if HAVE_SPHINXBUILD
|
||||
$(man_MANS): aria2c.rst
|
||||
$(MAKE) man
|
||||
else
|
||||
$(man_MANS):
|
||||
$(warning Building only stub man pages. Please install sphinx-build)
|
||||
if [ ! -d "$(@D)" ]; then mkdir -p "$(@D)"; fi;
|
||||
if [ ! -e "$@" ]; then touch "$@"; fi;
|
||||
endif
|
||||
|
||||
# Autogenerated rules by sphinx-quickstart
|
||||
|
||||
|
@ -16,8 +16,15 @@ mandir = @mandir@/ru
|
||||
man_MANS = $(BUILDDIR)/man/aria2c.1
|
||||
EXTRA_DIST = $(man_MANS) aria2c.rst index.rst _static/default2.css
|
||||
|
||||
if HAVE_SPHINXBUILD
|
||||
$(man_MANS): aria2c.rst
|
||||
$(MAKE) man
|
||||
else
|
||||
$(man_MANS):
|
||||
$(warning Building only stub man pages. Please install sphinx-build)
|
||||
if [ ! -d "$(@D)" ]; then mkdir -p "$(@D)"; fi;
|
||||
if [ ! -e "$@" ]; then touch "$@"; fi;
|
||||
endif
|
||||
|
||||
# Autogenerated rules by sphinx-quickstart
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user