diff --git a/Makefile.am b/Makefile.am
index 9140f24f91ac420551c269468605e9907b60fc3b..019f7a1d90b9d054c0eaecd78871a65a88162d3d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -57,3 +57,12 @@ MAINTAINERCLEANDIRS = \
 	autom4te.cache \
 	build \
 	dist
+
+
+test:
+	python test/runtests.py
+.PHONY: test
+
+doc:
+	epydoc --config=doc/epydoc.conf
+.PHONY: doc