('libmemcached_configuration', 'memcached', u'libmemcached Documentation', [u'Brian Aker'], 3),
('libmemcached_examples', 'libmemcached_examples', u'libmemcached Documentation', [u'Brian Aker'], 3),
('libmemcachedutil', 'libmemcachedutil', u'libmemcached Documentation', [u'Brian Aker'], 3),
- ('memaslap', 'memaslap', u'libmemcached Documentation', [u'Brian Aker'], 1),
('memcached_analyze', 'memcached_analyze', u'libmemcached Documentation', [u'Brian Aker'], 3),
('memcached_append', 'memcached_append', u'Appending to or Prepending to data on the server', [u'Brian Aker'], 3),
('memcached_append', 'memcached_append_by_key', u'Appending to or Prepending to data on the server', [u'Brian Aker'], 3),
('bin/memerror', 'memerror', u'libmemcached Documentation', [u'Brian Aker'], 1),
('bin/memflush', 'memflush', u'libmemcached Documentation', [u'Brian Aker'], 1),
('bin/memrm', 'memrm', u'libmemcached Documentation', [u'Brian Aker'], 1),
+ ('bin/memaslap', 'memaslap', u'libmemcached Documentation', [u'Brian Aker'], 1),
('bin/memslap', 'memslap', u'libmemcached Documentation', [u'Brian Aker'], 1),
('bin/memstat', 'memstat', u'libmemcached Documentation', [u'Brian Aker'], 1),
]
@echo " linkcheck to check all external links for integrity"
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
-html-local:
+html-local: docs/conf.py changes
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(SPHINX_BUILDDIR)/html."
-dirhtml:
+dirhtml: docs/conf.py changes
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/dirhtml
@echo
@echo "Build finished. The HTML pages are in $(SPHINX_BUILDDIR)/dirhtml."
-singlehtml:
+singlehtml: docs/conf.py changes
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/singlehtml
@echo
@echo "Build finished. The HTML page is in $(SPHINX_BUILDDIR)/singlehtml."
-pickle:
+pickle: docs/conf.py changes
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/pickle
@echo
@echo "Build finished; now you can process the pickle files."
-json:
+json: docs/conf.py changes
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/json
@echo
@echo "Build finished; now you can process the JSON files."
-htmlhelp:
+htmlhelp: docs/conf.py changes
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/htmlhelp
@echo
@echo "Build finished; now you can run HTML Help Workshop with the" \
".hhp project file in $(SPHINX_BUILDDIR)/htmlhelp."
-qthelp:
+qthelp: docs/conf.py changes
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/qthelp
@echo
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
@echo "To view the help file:"
@echo "# assistant -collectionFile $(SPHINX_BUILDDIR)/qthelp/Libmemcached.qhc"
-devhelp:
+devhelp: docs/conf.py changes
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/devhelp
@echo
@echo "Build finished."
@echo "# ln -s $(SPHINX_BUILDDIR)/devhelp $$HOME/.local/share/devhelp/Libmemcached"
@echo "# devhelp"
-epub:
+epub: docs/conf.py changes
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/epub
@echo
@echo "Build finished. The epub file is in $(SPHINX_BUILDDIR)/epub."
-latex:
+latex: docs/conf.py changes
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/latex
@echo
@echo "Build finished; the LaTeX files are in $(SPHINX_BUILDDIR)/latex."
@echo "Run \`make' in that directory to run these through (pdf)latex" \
"(use \`make latexpdf' here to do that automatically)."
-latexpdf: latex
+latexpdf: latex changes
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/latex
@echo "Running LaTeX files through pdflatex..."
make -C $(SPHINX_BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(SPHINX_BUILDDIR)/latex."
-text:
+text: docs/conf.py changes
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/text
@echo
@echo "Build finished. The text files are in $(SPHINX_BUILDDIR)/text."
-man:
+man: docs/conf.py changes
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/man
@echo
@echo "Build finished. The manual pages are in $(SPHINX_BUILDDIR)/man."
-changes:
+changes: docs/conf.py linkcheck
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/changes
@echo
@echo "The overview file is in $(SPHINX_BUILDDIR)/changes."
-linkcheck:
+linkcheck: docs/conf.py
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/linkcheck
@echo
@echo "Link check complete; look for any errors in the above output " \
/*
Sample test application.
*/
-#include "config.h"
+#include <libtest/common.h>
#include <libmemcached/memcached.h>
#include <libmemcached/watchpoint.h>
#include <clients/execute.h>
#include <libtest/server.h>
-#include <libtest/test.hpp>
/* Number of items generated for tests */
#define GLOBAL_COUNT 100000
*
*/
+#include <libtest/common.h>
+
#include <libmemcached/memcached.h>
#include <libmemcached/is.h>
-#include <libtest/test.hpp>
-
#include "tests/basic.h"
#include <cstring>
/*
* An example file showing the usage of the C++ libmemcached interface.
*/
+#include <config.h>
#include <vector>
#include <string>
*
*/
-#include <config.h>
+#include <libtest/common.h>
#include <cassert>
-#include <libtest/test.hpp>
#include <libmemcached/memcached.h>
#include <tests/deprecated.h>
*
*/
-#include <config.h>
+#include <libtest/common.h>
#define BUILDING_LIBMEMCACHED
#include <libmemcached/memcached.h>
#include <libmemcached/is.h>
-#include <libtest/test.hpp>
-
#include <tests/error_conditions.h>
test_return_t memcached_increment_MEMCACHED_NO_SERVERS(memcached_st *)
C++ to libhashkit
*/
-#include <config.h>
-
-#include <libtest/test.hpp>
+#include <libtest/common.h>
#include <cstdio>
#include <cstdlib>
*
*/
-#include "config.h"
+#include <libtest/common.h>
#include <assert.h>
#include <stdio.h>
#include <libhashkit/hashkit.h>
-#include <libtest/test.hpp>
-
#include "hash_results.h"
static hashkit_st global_hashk;
*
*/
+#include <libtest/common.h>
/*
Test cases
// !NEVER use common.h, always use memcached.h in your own apps
#include <libmemcached/common.h>
-#include <stdint.h>
-
#include <cassert>
#include <memory>
#include <signal.h>
Sample test application.
*/
-#include "config.h"
+#include <libtest/common.h>
-#include "libmemcached/common.h"
+#include <libmemcached/common.h>
#include <assert.h>
#include <stdio.h>
#include <time.h>
#include <libtest/server.h>
-#include <libtest/test.hpp>
#define SERVERS_TO_CREATE 5
*
*/
-#include <config.h>
+#include <libtest/common.h>
#include <vector>
#include <iostream>
#include <cerrno>
#include <cassert>
-#include <libtest/test.hpp>
-
#define BUILDING_LIBMEMCACHED
// !NEVER use common.h, always use memcached.h in your own apps
#include <libmemcached/common.h>
*
*/
-#include <config.h>
-
-#include <libtest/test.hpp>
+#include <libtest/common.h>
#include <vector>
#include <iostream>
*
*/
-#include <config.h>
+#include <libtest/common.h>
#include <iostream>
#include <libmemcached/memcached.h>
-#include <libtest/test.hpp>
#include "tests/print.h"
*
*/
-#include <config.h>
+#include <libtest/common.h>
-#include <libtest/test.hpp>
-#include "libmemcached/common.h"
+#include <libmemcached/common.h>
#include <tests/replication.h>
test_return_t replication_set_test(memcached_st *memc)
*
*/
-#include "config.h"
+#include <config.h>
#include <stdio.h>
#include <string.h>
*
*/
+// We let libmemcached/common.h define config since we are looking at
+// library internals.
+
#define BUILDING_LIBMEMCACHED
#include <libmemcached/common.h>
*
*/
-#include <config.h>
+#include <libtest/common.h>
-#include <libtest/test.hpp>
#include <tests/virtual_buckets.h>
#include <libmemcached/memcached.h>