Commit 769afbd1 authored by Pat David's avatar Pat David

Added 'testing' option to Makefile

parent befa32d0
......@@ -8,6 +8,8 @@ OUTPUTDIR=$(BASEDIR)/output
CONFFILE=$(BASEDIR)/pelicanconf.py
PUBLISHCONF=$(BASEDIR)/publishconf.py
TESTINGCONF=$(BASEDIR)/pelicanconf.testing.py
FTP_HOST=localhost
FTP_USER=anonymous
FTP_TARGET_DIR=/
......@@ -40,6 +42,7 @@ help:
@echo ' make clean remove the generated files '
@echo ' make regenerate regenerate files upon modification '
@echo ' make publish generate using production settings '
@echo ' make testing generate using testing settings '
@echo ' make serve [PORT=8000] serve site at http://localhost:8000'
@echo ' make devserver [PORT=8000] start/restart develop_server.sh '
@echo ' make stopserver stop local server '
......@@ -57,6 +60,9 @@ help:
html:
$(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS)
testing:
$(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(TESTINGCONF) $(PELICANOPTS)
clean:
[ ! -d $(OUTPUTDIR) ] || rm -rf $(OUTPUTDIR)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment