mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
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:
parent
9b36437d97
commit
a9d1fdae3d
4 changed files with 12 additions and 6 deletions
|
|
@ -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
|
||||
=============================
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue