# vim:ft=automake
# included from Top Level Makefile.am
# All paths should be given relative to the root

EXTRA_DIST+= docs/Makefile
EXTRA_DIST+= docs/make.bat
EXTRA_DIST+= docs/source/conf.py*
EXTRA_DIST+= docs/source/*.rst
EXTRA_DIST+= docs/source/cc-symbol.png
EXTRA_DIST+= docs/source/gearmand/*.rst
EXTRA_DIST+= docs/source/gearmand/queues/*.rst
EXTRA_DIST+= docs/source/libgearman/*.rst
EXTRA_DIST+= docs/source/libgearman/errors/*.rst
EXTRA_DIST+= docs/source/bin/*.rst
EXTRA_DIST+= docs/source/build/*.rst
EXTRA_DIST+= docs/source/protocol/*.rst

noinst_PROGRAMS+= docs/source/libgearman/examples/gearman_client_do_background_example
noinst_PROGRAMS+= docs/source/libgearman/examples/gearman_client_do_example
noinst_PROGRAMS+= docs/source/libgearman/examples/gearman_execute_example
noinst_PROGRAMS+= docs/source/libgearman/examples/gearman_execute_partition

docs_source_libgearman_examples_gearman_execute_example_SOURCES= docs/source/libgearman/examples/gearman_execute_example.c
docs_source_libgearman_examples_gearman_execute_example_LDADD= libgearman/libgearman.la

docs_source_libgearman_examples_gearman_execute_partition_SOURCES= docs/source/libgearman/examples/gearman_execute_partition.c
docs_source_libgearman_examples_gearman_execute_partition_LDADD= libgearman/libgearman.la

docs_source_libgearman_examples_gearman_client_do_example_SOURCES= docs/source/libgearman/examples/gearman_client_do_example.c
docs_source_libgearman_examples_gearman_client_do_example_LDADD= libgearman/libgearman.la

docs_source_libgearman_examples_gearman_client_do_background_example_SOURCES= docs/source/libgearman/examples/gearman_client_do_background_example.c
docs_source_libgearman_examples_gearman_client_do_background_example_LDADD= libgearman/libgearman.la

