comparison Makefile @ 6:d56669594036

remove obsolete upload methods
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sat, 29 Jun 2013 17:59:04 +0200
parents 48e0e2d8babd
children 3b69622879c9
comparison
equal deleted inserted replaced
5:48e0e2d8babd 6:d56669594036
32 @echo ' make serve serve site at http://localhost:8000' 32 @echo ' make serve serve site at http://localhost:8000'
33 @echo ' make devserver start/restart develop_server.sh ' 33 @echo ' make devserver start/restart develop_server.sh '
34 @echo ' make stopserver stop local server ' 34 @echo ' make stopserver stop local server '
35 @echo ' ssh_upload upload the web site via SSH ' 35 @echo ' ssh_upload upload the web site via SSH '
36 @echo ' rsync_upload upload the web site via rsync+ssh ' 36 @echo ' rsync_upload upload the web site via rsync+ssh '
37 @echo ' dropbox_upload upload the web site via Dropbox '
38 @echo ' ftp_upload upload the web site via FTP '
39 @echo ' s3_upload upload the web site via S3 '
40 @echo ' github upload the web site via gh-pages ' 37 @echo ' github upload the web site via gh-pages '
41 @echo ' ' 38 @echo ' '
42 39
43 40
44 html: clean $(OUTPUTDIR)/index.html 41 html: clean $(OUTPUTDIR)/index.html
70 scp -P $(SSH_PORT) -r $(OUTPUTDIR)/* $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) 67 scp -P $(SSH_PORT) -r $(OUTPUTDIR)/* $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)
71 68
72 rsync_upload: publish 69 rsync_upload: publish
73 rsync -e "ssh -p $(SSH_PORT)" -P -rvz --delete $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) --cvs-exclude 70 rsync -e "ssh -p $(SSH_PORT)" -P -rvz --delete $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) --cvs-exclude
74 71
75 dropbox_upload: publish
76 cp -r $(OUTPUTDIR)/* $(DROPBOX_DIR)
77
78 ftp_upload: publish
79 lftp ftp://$(FTP_USER)@$(FTP_HOST) -e "mirror -R $(OUTPUTDIR) $(FTP_TARGET_DIR) ; quit"
80
81 s3_upload: publish
82 s3cmd sync $(OUTPUTDIR)/ s3://$(S3_BUCKET) --acl-public --delete-removed
83
84 github: publish 72 github: publish
85 ghp-import $(OUTPUTDIR) 73 ghp-import $(OUTPUTDIR)
86 git push origin gh-pages 74 git push origin gh-pages
87 75
88 .PHONY: html help clean regenerate serve devserver publish ssh_upload rsync_upload dropbox_upload ftp_upload s3_upload github 76 .PHONY: html help clean regenerate serve devserver publish ssh_upload rsync_upload dropbox_upload ftp_upload s3_upload github