1
0
Fork 0
forked from github/pelican

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:
bas smit 2013-06-26 13:25:20 +02:00
commit 12fd53c27e

View file

@ -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 ' '