]> git.r.bdr.sh - rbdr/blog/blobdiff - Makefile
Update rsync syntax
[rbdr/blog] / Makefile
index f7b31308c233af27bda0c21b8917fe20dd68d26b..4c5c88000939e6d5188b86f5e4e444a77b030133 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ build: prepare
        cargo build --profile $(profile) --target $(target)
 
 release: rpm tar
-       rsync $(app_name)-$(target)-$(channel).tar.gz deploy@build.r.bdr.sh:/srv/http/build.r.bdr.sh/$(app_name) target/$(target)/$(profile)/$(app_name)
+       rsync -avz $(app_name)-$(target)-$(channel).tar.gz deploy@build.r.bdr.sh:/srv/http/build.r.bdr.sh/$(app_name) target/$(target)/$(profile)/$(app_name)/$(app_name)-$(target)-$(channel).tar.gz
 
 $(architectures):
 ifneq ($(channel),)