]> git.r.bdr.sh - rbdr/blog/blobdiff - Makefile
Rsync RPM
[rbdr/blog] / Makefile
index 2c1d4b3fc86170f4712457fb05c881d79e8ff1a3..1e437954f76c91ec1320f1783d8a495b38e7d9fb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,7 @@ build: prepare
 release: rpm tar
        @$(eval filename := $(app_name)-$(target)-$(channel))
        rsync -avz $(filename).tar.gz deploy@conchos.unlimited.pizza:/srv/http/build.r.bdr.sh/$(app_name)
+       rsync -avz $(filename).rpm deploy@conchos.unlimited.pizza:/srv/http/build.r.bdr.sh/$(app_name)
 
 $(architectures):
 ifneq ($(channel),)
@@ -26,6 +27,7 @@ else
 endif
 
 rpm: build
+       cargo generate-rpm --profile $(profile) --target $(target)
 
 tar: build
        @$(eval filename := $(app_name)-$(target)-$(channel))