summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/3rdparty/extras-0.0.3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/test/3rdparty/extras-0.0.3/Makefile')
-rw-r--r--src/third_party/wiredtiger/test/3rdparty/extras-0.0.3/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/test/3rdparty/extras-0.0.3/Makefile b/src/third_party/wiredtiger/test/3rdparty/extras-0.0.3/Makefile
new file mode 100644
index 00000000000..270e8d11546
--- /dev/null
+++ b/src/third_party/wiredtiger/test/3rdparty/extras-0.0.3/Makefile
@@ -0,0 +1,30 @@
+# See README.rst for copyright and licensing details.
+
+PYTHON=python
+SOURCES=$(shell find extras -name "*.py")
+
+check:
+ PYTHONPATH=$(PWD) $(PYTHON) -m testtools.run extras.tests.test_suite
+
+TAGS: ${SOURCES}
+ ctags -e -R extras/
+
+tags: ${SOURCES}
+ ctags -R extras/
+
+clean:
+ rm -f TAGS tags
+ find extras -name "*.pyc" -exec rm '{}' \;
+
+### Documentation ###
+
+apidocs:
+ # pydoctor emits deprecation warnings under Ubuntu 10.10 LTS
+ PYTHONWARNINGS='ignore::DeprecationWarning' \
+ pydoctor --make-html --add-package extras \
+ --docformat=restructuredtext --project-name=extras \
+ --project-url=https://launchpad.net/extras
+
+
+.PHONY: apidocs
+.PHONY: check clean