forked from github/pelican
adding a stopsever target for make
This commit is contained in:
parent
824edb8823
commit
a13e31a76b
1 changed files with 6 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ help:
|
|||
@echo ' make publish generate using production settings '
|
||||
@echo ' make serve serve site at http://localhost:8000'
|
||||
@echo ' make devserver start/restart develop_server.sh '
|
||||
@echo ' make stopserver stop local server '
|
||||
@echo ' ssh_upload upload the web site via SSH '
|
||||
@echo ' rsync_upload upload the web site via rsync+ssh '
|
||||
@echo ' dropbox_upload upload the web site via Dropbox '
|
||||
|
|
@ -54,6 +55,11 @@ serve:
|
|||
devserver:
|
||||
$$(BASEDIR)/develop_server.sh restart
|
||||
|
||||
stopserver:
|
||||
_ kill -9 `cat pelican.pid`
|
||||
_ kill -9 `cat srv.pid`
|
||||
_ @echo 'Stopped Pelican and SimpleHTTPServer processes running in background.
|
||||
|
||||
publish:
|
||||
$$(PELICAN) $$(INPUTDIR) -o $$(OUTPUTDIR) -s $$(PUBLISHCONF) $$(PELICANOPTS)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue