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
|
|
@ -1,4 +1,4 @@
|
|||
PELICAN=$pelican
|
||||
PELICAN?=$pelican
|
||||
PELICANOPTS=$pelicanopts
|
||||
|
||||
BASEDIR=$$(CURDIR)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
##
|
||||
# This section should match your Makefile
|
||||
##
|
||||
PELICAN=$pelican
|
||||
PELICAN=$${PELICAN:-$pelican}
|
||||
PELICANOPTS=$pelicanopts
|
||||
|
||||
BASEDIR=$$(pwd)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue