diff options
author | Justin Mayer <entroP@gmail.com> | 2020-04-12 19:43:09 +0200 |
---|---|---|
committer | Justin Mayer <entroP@gmail.com> | 2020-04-12 19:43:09 +0200 |
commit | e7ef546661046a22f7c469186e1a97f98a6e8d24 (patch) | |
tree | 696dfd3be083c2d995507b9ea509bf5ed97a37f8 | |
parent | 0bc6869879034b166fae198f8f3d8683b55d5f7e (diff) | |
download | pelican-e7ef546661046a22f7c469186e1a97f98a6e8d24.tar.gz |
Add PORT to serve-global Makefile task
-rw-r--r-- | pelican/tools/templates/Makefile.jinja2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pelican/tools/templates/Makefile.jinja2 b/pelican/tools/templates/Makefile.jinja2 index 6b13a59c..c8963cae 100644 --- a/pelican/tools/templates/Makefile.jinja2 +++ b/pelican/tools/templates/Makefile.jinja2 @@ -108,7 +108,11 @@ else endif serve-global: +ifdef PORT + $(PELICAN) -l $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS) -p $(PORT) -b $(SERVER) +else $(PELICAN) -l $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS) -b $(SERVER) +endif devserver: ifdef PORT |