From 53f0bb8673d196ff008e255532a46e5ac77500b4 Mon Sep 17 00:00:00 2001 From: Dooho Yi Date: Wed, 6 May 2020 12:13:25 +0900 Subject: [PATCH] =?UTF-8?q?/=20=E2=80=98Makefile=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d794954..f66f727 100644 --- a/Makefile +++ b/Makefile @@ -63,10 +63,10 @@ else endif serve-local: -ifdef SERVER - $(PELICAN) -l $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILELOCAL) $(PELICANOPTS) -p $(PORT) -b $(SERVER) -else +ifdef PORT $(PELICAN) -l $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILELOCAL) $(PELICANOPTS) -p $(PORT) +else + $(PELICAN) -l $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILELOCAL) $(PELICANOPTS) endif