Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document AutotoolsToolchain prefix argument #2824

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion reference/conanfile/tools/gnu/autotoolstoolchain.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ constructor

.. code:: python

def __init__(self, conanfile, namespace=None):
def __init__(self, conanfile, namespace=None, prefix="/"):

- ``conanfile``: the current recipe object. Always use ``self``.
- ``namespace``: this argument avoids collisions when you have multiple toolchain calls in the same
Expand All @@ -87,6 +87,7 @@ constructor
the name of the generated file is *conanbuild.conf*. This namespace must be also set with the same
value in the constructor of the :ref:`Autotools build helper<conan_tools_gnu_build_helper>` so that
it reads the information from the proper file.
- ``prefix``: Folder to use for ``--prefix`` argument ("/" by default).


Attributes
Expand Down