Build: python agent: use setup.py over autoconf
[lttng-ust.git] / configure.ac
index 431a3ce83c23bf3a669ffba9be202f7496417f95..f29a4d207c068b225cbd4c026c3361a748f6e16a 100644 (file)
@@ -391,6 +391,8 @@ AC_CONFIG_FILES([
        liblttng-ust-libc-wrapper/Makefile
        liblttng-ust-cyg-profile/Makefile
        liblttng-ust-python-agent/Makefile
+       liblttng-ust-python-agent/setup.py
+       liblttng-ust-python-agent/lttngust/__init__.py
        tools/Makefile
        tests/Makefile
        tests/hello/Makefile
@@ -402,6 +404,14 @@ AC_CONFIG_FILES([
        lttng-ust.pc
 ])
 
+# Create link for python agent for the VPATH guru.
+AC_CONFIG_LINKS([
+       liblttng-ust-python-agent/lttngust/agent.py:liblttng-ust-python-agent/lttngust/agent.py
+       liblttng-ust-python-agent/lttngust/cmd.py:liblttng-ust-python-agent/lttngust/cmd.py
+       liblttng-ust-python-agent/lttngust/debug.py:liblttng-ust-python-agent/lttngust/debug.py
+       liblttng-ust-python-agent/lttngust/loghandler.py:liblttng-ust-python-agent/lttngust/loghandler.py
+])
+
 AC_OUTPUT
 
 AS_ECHO()
This page took 0.02277 seconds and 4 git commands to generate.