~theorytoe/siva-bugs#1: 
sync make rule duplicates certain hard copied directories

When using make sync with an already built site, if wil take hard-copied directories (like data/ in the makefile for instance) and copy the entire dir into a subdir. For instance:

$ ls data/
file.txt index.html

becomes (after sync with contents already in build/):

$ ls data/
data file.txt index.html

I would assume that this is either an issue for rsync or make, but as a hack fix, you can just depend the clean make rule before all on the sync rule.

Status
REPORTED
Submitter
~theorytoe
Assigned to
No-one
Submitted
2 years ago
Updated
2 years ago
Labels
medium priority

~theorytoe 2 years ago

Issue seems to stem from make, not rsync.

Register here or Log in to comment, or comment via email.