PY and PELICAN env variable overrides for Make

This allows the user to set PY and/or PELICAN environment variable
overrides, which will be respected by the Makefile and devserver.sh.
If, for example, the default Python on your system were Python 3 and
you wanted to run Make with Python 2, using bash you could run
`PY=python2 make`. Refs #915.
This commit is contained in:
Justin Mayer 2014-02-08 14:32:58 -08:00
commit a9d1fdae3d
4 changed files with 12 additions and 6 deletions

View file

@ -271,6 +271,12 @@ use rsync over ssh::
That's it! Your site should now be live.
(The default ``Makefile`` and ``devserver.sh`` scripts use the ``python`` and
``pelican`` executables to complete its tasks. If you want to use different
executables, such as ``python3``, you can set the ``PY`` and ``PELICAN``
environment variables, respectively, to override the default executable names.)
Writing content using Pelican
=============================