forked from github/pelican
Makefile, include tags directory in rsync command
By default, the rsync option '--cvs-exclude' excludes the 'tags' directory. For a blog, it's a bit unfortunate, as it's quite common to have a `tags` directory in a blog, either for the tag pages or the tag feeds. With this commit, we force rsync to include this directory, and save a little headache to users who wonder why their tags are present in the output directory, but are not present on the server.
This commit is contained in:
parent
f80bf187a9
commit
40d09875e6
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ ssh_upload: publish
|
|||
|
||||
{% set upload = upload + ["rsync_upload"] %}
|
||||
rsync_upload: publish
|
||||
rsync -e "ssh -p $(SSH_PORT)" -P -rvzc --cvs-exclude --delete "$(OUTPUTDIR)"/ "$(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)"
|
||||
rsync -e "ssh -p $(SSH_PORT)" -P -rvzc --include tags --cvs-exclude --delete "$(OUTPUTDIR)"/ "$(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)"
|
||||
|
||||
{% endif %}
|
||||
{% if dropbox %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue