forked from boyska/sito-hackit-17
less garbage in Makefile
This commit is contained in:
parent
2502dfb218
commit
e8bb06b51a
1 changed files with 1 additions and 27 deletions
28
Makefile
28
Makefile
|
@ -8,25 +8,6 @@ OUTPUTDIR=$(BASEDIR)/output
|
||||||
CONFFILE=$(BASEDIR)/pelicanconf.py
|
CONFFILE=$(BASEDIR)/pelicanconf.py
|
||||||
PUBLISHCONF=$(BASEDIR)/publishconf.py
|
PUBLISHCONF=$(BASEDIR)/publishconf.py
|
||||||
|
|
||||||
FTP_HOST=localhost
|
|
||||||
FTP_USER=anonymous
|
|
||||||
FTP_TARGET_DIR=/
|
|
||||||
|
|
||||||
SSH_HOST=localhost
|
|
||||||
SSH_PORT=22
|
|
||||||
SSH_USER=root
|
|
||||||
SSH_TARGET_DIR=/var/www
|
|
||||||
|
|
||||||
S3_BUCKET=my_s3_bucket
|
|
||||||
|
|
||||||
CLOUDFILES_USERNAME=my_rackspace_username
|
|
||||||
CLOUDFILES_API_KEY=my_rackspace_api_key
|
|
||||||
CLOUDFILES_CONTAINER=my_cloudfiles_container
|
|
||||||
|
|
||||||
DROPBOX_DIR=~/Dropbox/Public/
|
|
||||||
|
|
||||||
GITHUB_PAGES_BRANCH=gh-pages
|
|
||||||
|
|
||||||
DEBUG ?= 0
|
DEBUG ?= 0
|
||||||
ifeq ($(DEBUG), 1)
|
ifeq ($(DEBUG), 1)
|
||||||
PELICANOPTS += -D
|
PELICANOPTS += -D
|
||||||
|
@ -43,13 +24,6 @@ help:
|
||||||
@echo ' make serve [PORT=8000] serve site at http://localhost:8000'
|
@echo ' make serve [PORT=8000] serve site at http://localhost:8000'
|
||||||
@echo ' make devserver [PORT=8000] start/restart develop_server.sh '
|
@echo ' make devserver [PORT=8000] start/restart develop_server.sh '
|
||||||
@echo ' make stopserver stop local server '
|
@echo ' make stopserver stop local server '
|
||||||
@echo ' make ssh_upload upload the web site via SSH '
|
|
||||||
@echo ' make rsync_upload upload the web site via rsync+ssh '
|
|
||||||
@echo ' make dropbox_upload upload the web site via Dropbox '
|
|
||||||
@echo ' make ftp_upload upload the web site via FTP '
|
|
||||||
@echo ' make s3_upload upload the web site via S3 '
|
|
||||||
@echo ' make cf_upload upload the web site via Cloud Files'
|
|
||||||
@echo ' make github upload the web site via gh-pages '
|
|
||||||
@echo ' '
|
@echo ' '
|
||||||
@echo 'Set the DEBUG variable to 1 to enable debugging, e.g. make DEBUG=1 html'
|
@echo 'Set the DEBUG variable to 1 to enable debugging, e.g. make DEBUG=1 html'
|
||||||
@echo ' '
|
@echo ' '
|
||||||
|
@ -88,4 +62,4 @@ publish:
|
||||||
autopublish:
|
autopublish:
|
||||||
while true; do inotifywait -r content pelicanconf.py publishconf.py Makefile themes -e modify -e create -e delete; make clean publish; sleep 0.1; done
|
while true; do inotifywait -r content pelicanconf.py publishconf.py Makefile themes -e modify -e create -e delete; make clean publish; sleep 0.1; done
|
||||||
|
|
||||||
.PHONY: html help clean regenerate serve devserver publish ssh_upload rsync_upload dropbox_upload ftp_upload s3_upload cf_upload github
|
.PHONY: html help clean regenerate serve devserver publish
|
||||||
|
|
Loading…
Reference in a new issue