~brianaker/gearmand/gearmnan_job_use_client

« back to all changes in this revision

Viewing changes to docs/include.am

  • Committer: Brian Aker
  • Date: 2013-08-16 08:58:49 UTC
  • mto: This revision was merged to the branch mainline in revision 863.
  • Revision ID: brian@tangent.org-20130816085849-640pqqvyzxt1o3mi
Fix build so that make j works again

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
SPHINXOPTS    = ${SPHINX_WARNINGS} -q
9
9
PAPER         =
10
 
SPHINX_BUILDDIR      = ${abs_srcdir}/docs
 
10
SPHINX_BUILDDIR      = ${abs_top_srcdir}/docs
11
11
 
12
12
# Internal variables.
13
13
PAPEROPT_a4     = -D latex_paper_size=a4
14
14
PAPEROPT_letter = -D latex_paper_size=letter
15
 
ALLSPHINXOPTS   = -c $(top_builddir)/docs $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) $(SPHINX_BUILDDIR)
 
15
ALLSPHINXOPTS   = -c $(abs_top_builddir)/docs $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) $(SPHINX_BUILDDIR)
16
16
 
17
17
.PHONY: clean-docs-check
18
18
clean-docs-check:
19
 
        -rm -rf docs/_build docs/doctrees man/.doctrees
 
19
        -rm -rf $(abs_top_builddir)/docs/_build $(abs_top_builddir)/docs/doctrees $(abs_top_builddir)/man/.doctrees
20
20
 
21
21
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
22
22
 
23
 
man: docs/conf.py
24
 
        @PYTHONPATH=$(SPHINX_BUILDDIR)/docs  $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) ${top_builddir}/man
 
23
man: $(top_builddir)/docs/conf.py
 
24
        @PYTHONPATH=$(SPHINX_BUILDDIR)  $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) ${abs_top_builddir}/man
25
25
 
26
26
install-html-local: html-local
27
27
        @$(MKDIR_P)  $(htmldir)/html
28
28
        @cp -r ${top_builddir}/html $(htmldir)/
29
29
 
30
 
html-local: docs/conf.py
 
30
html-local: $(top_builddir)/docs/conf.py
31
31
        @PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) ${top_builddir}/html
32
32
 
33
33
singlehtml: html-local
34
34
        @PYTHONPATH=${top_srcdir}/docs  $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/singlehtml
35
35
 
36
 
pickle: docs/conf.py
 
36
pickle: $(top_builddir)/docs/conf.py
37
37
        PYTHONPATH=${top_srcdir}/docs  $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/pickle
38
38
        @echo
39
39
        @echo "Build finished; now you can process the pickle files."
40
40
 
41
 
json: docs/conf.py
 
41
json: $(top_builddir)/docs/conf.py
42
42
        PYTHONPATH=${top_srcdir}/docs  $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/json
43
43
        @echo
44
44
        @echo "Build finished; now you can process the JSON files."
45
45
 
46
 
htmlhelp: docs/conf.py
 
46
htmlhelp: $(top_builddir)/docs/conf.py
47
47
        PYTHONPATH=${top_srcdir}/docs  $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/htmlhelp
48
48
        @echo
49
49
        @echo "Build finished; now you can run HTML Help Workshop with the" \
50
50
              ".hhp project file in $(SPHINX_BUILDDIR)/htmlhelp."
51
51
 
52
 
epub: docs/conf.py
 
52
epub: $(top_builddir)/docs/conf.py
53
53
        PYTHONPATH=${top_srcdir}/docs  $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/epub
54
54
        @echo
55
55
        @echo "Build finished. The epub file is in $(SPHINX_BUILDDIR)/epub."
56
56
 
57
 
latex: docs/conf.py
 
57
latex: $(top_builddir)/docs/conf.py
58
58
        PYTHONPATH=${top_srcdir}/docs  $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/latex
59
59
        @echo
60
60
        @echo "Build finished; the LaTeX files are in $(SPHINX_BUILDDIR)/latex."
67
67
        make -C $(SPHINX_BUILDDIR)/latex all-pdf
68
68
        @echo "pdflatex finished; the PDF files are in $(SPHINX_BUILDDIR)/latex."
69
69
 
70
 
text: docs/conf.py
 
70
text: $(top_builddir)/docs/conf.py
71
71
        @PYTHONPATH=${top_srcdir}/docs  $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/text
72
72
 
73
 
changes: docs/conf.py
 
73
changes: $(top_builddir)/docs/conf.py
74
74
        @PYTHONPATH=${top_srcdir}/docs  $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/changes
75
75
 
76
 
linkcheck: docs/conf.py
 
76
linkcheck: $(top_builddir)/docs/conf.py
77
77
        PYTHONPATH=${top_srcdir}/docs  $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/linkcheck
78
78
 
79
 
doctest: docs/conf.py
 
79
doctest: $(top_builddir)/docs/conf.py
80
80
        PYTHONPATH=${top_srcdir}/docs  $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/doctest
81
81
        @echo "Testing of doctests in the sources finished, look at the " \
82
82
              "results in $(SPHINX_BUILDDIR)/doctest/output.txt."
83
 
 
84
 
noinst_PROGRAMS+= docs/libgearman/examples/gearman_client_do_background_example
85
 
noinst_PROGRAMS+= docs/libgearman/examples/gearman_client_do_example
86
 
noinst_PROGRAMS+= docs/libgearman/examples/gearman_execute_example
87
 
noinst_PROGRAMS+= docs/libgearman/examples/gearman_execute_partition
88
 
 
89
 
docs_libgearman_examples_gearman_execute_example_SOURCES= docs/libgearman/examples/gearman_execute_example.c
90
 
docs_libgearman_examples_gearman_execute_example_LDADD= libgearman/libgearman.la
91
 
 
92
 
docs_libgearman_examples_gearman_execute_partition_SOURCES= docs/libgearman/examples/gearman_execute_partition.c
93
 
docs_libgearman_examples_gearman_execute_partition_LDADD= libgearman/libgearman.la
94
 
 
95
 
docs_libgearman_examples_gearman_client_do_example_SOURCES= docs/libgearman/examples/gearman_client_do_example.c
96
 
docs_libgearman_examples_gearman_client_do_example_LDADD= libgearman/libgearman.la
97
 
 
98
 
docs_libgearman_examples_gearman_client_do_background_example_SOURCES= docs/libgearman/examples/gearman_client_do_background_example.c
99
 
docs_libgearman_examples_gearman_client_do_background_example_LDADD= libgearman/libgearman.la