diff options
| author | Nils Maier <maierman@web.de> | 2013-09-09 23:31:42 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2013-09-09 23:35:15 +0200 |
| commit | 7ca627bfe954105ebf95b65f4047ef31464f8111 (patch) | |
| tree | 84a2bba92a026d9085100dec6f6423e9c79b120e /doc | |
| parent | 4bd4aa2dc3c0e68eb222d34a80a2b690b71fcee0 (diff) | |
Fix out-of-tree builds of libaria2apirelease-1.18.0
Also it's not just the `html` target that needs libaria2api generated.
The fix is mighty ackward, as it is not really out-of-tree: libaria2api
still will be but into the srcdir. I settled for this because trying to
do a real include from the build dir is really a mess, either requireing
heavy pre-processing or a custom sphinx Include directive :p
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/manual-src/en/Makefile.am | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/manual-src/en/Makefile.am b/doc/manual-src/en/Makefile.am index 4e20ede8..e354286b 100644 --- a/doc/manual-src/en/Makefile.am +++ b/doc/manual-src/en/Makefile.am @@ -49,14 +49,16 @@ help: @echo " linkcheck to check all external links for integrity" @echo " doctest to run all doctests embedded in the documentation (if enabled)" -libaria2api: $(top_builddir)/src/includes/aria2/aria2.h - $(builddir)/mkapiref.py $^ > $@ +$(srcdir)/libaria2api: $(top_builddir)/src/includes/aria2/aria2.h + $(srcdir)/mkapiref.py $^ > $@ + +html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest: $(srcdir)/libaria2api docclean: - -rm libaria2api + -rm $(srcdir)/libaria2api -rm -rf $(BUILDDIR)/* -html: libaria2api +html: $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html @echo @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." |
