[gimp-web/testing] Added 'testing' option to Makefile
- From: Pat David <patdavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/testing] Added 'testing' option to Makefile
- Date: Thu, 31 Dec 2015 15:27:31 +0000 (UTC)
commit 13c489cfb717285fcec7152329d713b5a33b880b
Author: Pat David <patdavid gmail com>
Date: Thu Dec 31 09:27:21 2015 -0600
Added 'testing' option to Makefile
Makefile | 6 ++++++
pelicanconf.testing.py | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/Makefile b/Makefile
index dc640c3..22b5d03 100644
--- a/Makefile
+++ b/Makefile
@@ -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)
diff --git a/pelicanconf.testing.py b/pelicanconf.testing.py
index 75bebeb..cec9e6f 100644
--- a/pelicanconf.testing.py
+++ b/pelicanconf.testing.py
@@ -114,4 +114,4 @@ PAGES_DEBUG = False
# When developing, you probably want document relative URLs - so set this to True
# When publishing, set to False
-RELATIVE_URLS = False
+RELATIVE_URLS = True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]