[gimp-web] Makefile: add static and local build rules
- From: Michael Schumacher <schumaml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web] Makefile: add static and local build rules
- Date: Wed, 22 Apr 2020 19:04:28 +0000 (UTC)
commit af65da01ea9aa2d0dbb06776115061e50c455913
Author: Michael Schumacher <schumaml gmx de>
Date: Wed Apr 22 21:03:59 2020 +0200
Makefile: add static and local build rules
Makefile | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/Makefile b/Makefile
index 22b5d03d..9cde37e7 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,8 @@ CONFFILE=$(BASEDIR)/pelicanconf.py
PUBLISHCONF=$(BASEDIR)/publishconf.py
TESTINGCONF=$(BASEDIR)/pelicanconf.testing.py
+STATICCONF=$(BASEDIR)/pelicanconf.static.py
+LOCALCONF=$(BASEDIR)/pelicanconf.local.py
FTP_HOST=localhost
FTP_USER=anonymous
@@ -43,6 +45,8 @@ help:
@echo ' make regenerate regenerate files upon modification '
@echo ' make publish generate using production settings '
@echo ' make testing generate using testing settings '
+ @echo ' make static generate using static settings '
+ @echo ' make local generate using local 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 '
@@ -63,6 +67,12 @@ html:
testing:
$(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(TESTINGCONF) $(PELICANOPTS)
+static:
+ $(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(STATICCONF) $(PELICANOPTS)
+
+local:
+ $(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(LOCALCONF) $(PELICANOPTS)
+
clean:
[ ! -d $(OUTPUTDIR) ] || rm -rf $(OUTPUTDIR)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]