]> oss.titaniummirror.com Git - oss-web.git/commitdiff
make deploy: have rsync always checksum files master
authorR. Steve McKown <rsmckown@gmail.com>
Thu, 17 Mar 2016 16:01:40 +0000 (10:01 -0600)
committerR. Steve McKown <rsmckown@gmail.com>
Thu, 17 Mar 2016 16:11:09 +0000 (10:11 -0600)
Since webber forces the modification and creation times of files, if a
change does not change the size of a file rsync will not transfer it as
the size and the time are both the same.  To ensure a check on contents
add the -c (checksum) option to rsync.

Makefile

index e21812dd4c8c6d90093fef3107ee062adabc4938..995ee671c6d7e6672228fad3818aa0066d6c4890 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -25,10 +25,10 @@ realclean: clean
        rm -rf out
 
 deploy:
-       rsync -avz --delete out/ $(deployurl)
+       rsync -cavz --delete out/ $(deployurl)
 
 dry:
-       rsync --dry-run -avz --delete out/ $(deployurl)
+       rsync --dry-run -cavz --delete out/ $(deployurl)
 
 # Automatically create webber.conf:
 ifeq ($(wildcard webber.conf),)