Skip to content

Commit ef68cdd

Browse files
committed
fix: [make] Makefile fixes
1 parent a7c8a43 commit ef68cdd

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,6 @@ coverage.xml
5757
docs/_build/
5858

5959
# Process id's
60-
*.pid
60+
*.pid
61+
62+
venv

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ help:
4848
@echo ' make devserver [PORT=8000] serve and regenerate together '
4949
@echo ' make devserver-global regenerate and serve on 0.0.0.0 '
5050
@echo ' make ssh_upload upload the web site via SSH '
51-
@echo ' make sftp_upload upload the web site via SFTP '
51+
@echo ' make sftp_upload upload the web site via SFTP '
5252
@echo ' make rsync_upload upload the web site via rsync+ssh '
5353
@echo ' make github upload the web site via gh-pages '
5454
@echo ' '
@@ -81,16 +81,16 @@ publish:
8181
"$(PELICAN)" "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(PUBLISHCONF)" $(PELICANOPTS)
8282

8383
ssh_upload: publish
84-
scp -P $(SSH_PORT) -r "$(OUTPUTDIR)"/* "$(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)"
84+
scp -r "$(OUTPUTDIR)"/* "$(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)"
8585

8686
dropbox_upload: publish
87-
cp -r $(OUTPUTDIR)/* $(DROPBOX_DIR)
87+
cp -r $(OUTPUTDIR)/* $(DROPBOX_DIR)
8888

8989
sftp_upload: publish
9090
printf 'put -r $(OUTPUTDIR)/*' | sftp $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)
9191

9292
rsync_upload: publish
93-
rsync -e "ssh -p $(SSH_PORT)" -P -rvzc --include tags --cvs-exclude --delete "$(OUTPUTDIR)"/ "$(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)"
93+
rsync -e "ssh " -P -rvzc --include tags --cvs-exclude --delete "$(OUTPUTDIR)"/ "$(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)"
9494

9595
github: publish
9696
ghp-import -m "Generate Pelican site" -b $(GITHUB_PAGES_BRANCH) "$(OUTPUTDIR)"

0 commit comments

Comments
 (0)