mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Add debug target to the template makefile
If the DEBUG variable is set (e.g. DEBUG=1 make target) debugging will be enabled by using pelicans -D flag.
This commit is contained in:
parent
7d37cfa748
commit
12fd53c27e
1 changed files with 5 additions and 0 deletions
|
|
@ -20,6 +20,11 @@ S3_BUCKET=$s3_bucket
|
|||
|
||||
DROPBOX_DIR=$dropbox_dir
|
||||
|
||||
DEBUG ?= 0
|
||||
ifeq ($(DEBUG), 1)
|
||||
PELICANOPTS += -D
|
||||
endif
|
||||
|
||||
help:
|
||||
@echo 'Makefile for a pelican Web site '
|
||||
@echo ' '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue