Fix installation path of the subunit python modules.
authorTimur I Bakeyev <timur@com.bat.ru>
Tue, 9 Jun 2009 18:45:03 +0000 (20:45 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 9 Jun 2009 19:54:05 +0000 (21:54 +0200)
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
source4/scripting/python/config.mk

index f485ca8bfb86f914fb48c60e18bdd1a22f275fd5..a5e3f25d59e1b34d49f82a055ca510685cd09e9f 100644 (file)
@@ -25,7 +25,7 @@ $(python_glue_OBJ_FILES): CFLAGS+=-I$(ldbsrcdir)
 
 _PY_FILES = $(shell find $(pyscriptsrcdir)/samba ../lib/subunit/python -name "*.py")
 
-$(eval $(foreach pyfile, $(_PY_FILES),$(call python_py_module_template,$(patsubst $(pyscriptsrcdir)/%,%,$(pyfile)),$(pyfile))))
+$(eval $(foreach pyfile, $(_PY_FILES),$(call python_py_module_template,$(patsubst $(pyscriptsrcdir)/%,%,$(subst ../lib/subunit/python,,$(pyfile))),$(pyfile))))
 
 EPYDOC_OPTIONS = --no-private --url http://www.samba.org/ --no-sourcecode