|
@@ -104,7 +104,7 @@ stopserver:
|
|
$(BASEDIR)/develop_server.sh stop
|
|
$(BASEDIR)/develop_server.sh stop
|
|
@echo 'Stopped Pelican and SimpleHTTPServer processes running in background.'
|
|
@echo 'Stopped Pelican and SimpleHTTPServer processes running in background.'
|
|
|
|
|
|
-publish: html
|
|
|
|
|
|
+publish: html pdf
|
|
$(PELICAN) $(BUILDDIR) -o $(OUTPUTDIR) -s $(PUBLISHCONF) $(PELICANOPTS)
|
|
$(PELICAN) $(BUILDDIR) -o $(OUTPUTDIR) -s $(PUBLISHCONF) $(PELICANOPTS)
|
|
[ -f $(BUILDDIR)/thesis.pdf ] && cp $(BUILDDIR)/thesis.pdf $(OUTPUTDIR)
|
|
[ -f $(BUILDDIR)/thesis.pdf ] && cp $(BUILDDIR)/thesis.pdf $(OUTPUTDIR)
|
|
|
|
|
|
@@ -114,17 +114,6 @@ ssh_upload: publish
|
|
rsync_upload: publish
|
|
rsync_upload: publish
|
|
rsync -e "ssh -p $(SSH_PORT)" -P -rvzc --delete $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) --cvs-exclude
|
|
rsync -e "ssh -p $(SSH_PORT)" -P -rvzc --delete $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) --cvs-exclude
|
|
|
|
|
|
-dropbox_upload: publish
|
|
|
|
- cp -r $(OUTPUTDIR)/* $(DROPBOX_DIR)
|
|
|
|
-
|
|
|
|
-ftp_upload: publish
|
|
|
|
- lftp ftp://$(FTP_USER)@$(FTP_HOST) -e "mirror -R $(OUTPUTDIR) $(FTP_TARGET_DIR) ; quit"
|
|
|
|
-
|
|
|
|
-s3_upload: publish
|
|
|
|
- s3cmd sync $(OUTPUTDIR)/ s3://$(S3_BUCKET) --acl-public --delete-removed --guess-mime-type --no-mime-magic --no-preserve
|
|
|
|
-
|
|
|
|
-cf_upload: publish
|
|
|
|
- cd $(OUTPUTDIR) && swift -v -A https://auth.api.rackspacecloud.com/v1.0 -U $(CLOUDFILES_USERNAME) -K $(CLOUDFILES_API_KEY) upload -c $(CLOUDFILES_CONTAINER) .
|
|
|
|
|
|
|
|
github: publish
|
|
github: publish
|
|
ghp-import -m "Generate Pelican site" -b $(GITHUB_PAGES_BRANCH) $(OUTPUTDIR)
|
|
ghp-import -m "Generate Pelican site" -b $(GITHUB_PAGES_BRANCH) $(OUTPUTDIR)
|