diff --git a/Makefile b/Makefile index 417140c5..e33be3f2 100644 --- a/Makefile +++ b/Makefile @@ -198,7 +198,7 @@ archlinux-release: $(ARCHLINUX_FILE) # Release # -$(PYTHON_VERSION): .git/refs/heads/master +$(PYTHON_VERSION) version: .git/refs/heads/master $(helper) version # Code that is better handled in a shell script diff --git a/docs/src/cdist-install.rst b/docs/src/cdist-install.rst index 1e1e8245..f9feef36 100644 --- a/docs/src/cdist-install.rst +++ b/docs/src/cdist-install.rst @@ -40,6 +40,20 @@ To install cdist, execute the following commands: cd cdist export PATH=$PATH:$(pwd -P)/bin +To install cdist with distutils from cloned repository, first you have to +create version.py: + +.. code-block:: sh + + make version + +Then, as usual, you execute the following command: + +.. code-block:: sh + + python setup.py install + + Available versions in git ^^^^^^^^^^^^^^^^^^^^^^^^^