From cff94b97ca2e3a4b7396845a7a2fd1c9ab812d55 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 31 Oct 2011 17:59:56 -0400 Subject: Ship dimension client inside the Python package. --- Makefile.am | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index b30def4..f455fe3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,12 +18,20 @@ ########################################################################### ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = libdimension \ +SUBDIRS = . \ + libdimension \ libdimension-python \ dimension EXTRA_DIST = autogen.sh +# Set up ./dimension as a python package for tests +$(abs_builddir)/dimension/__init__.py: + ln -sf "$(abs_top_srcdir)/dimension/__init__.py" dimension/__init__.py +$(abs_builddir)/dimension/wrapper.so: + ln -sf ../libdimension-python/.libs/wrapper.so dimension/wrapper.so +all-local: $(abs_builddir)/dimension/__init__.py $(abs_builddir)/dimension/wrapper.so + bench: cd libdimension && $(MAKE) $(AM_MAKEFLAGS) bench -- cgit v1.2.3