From a3e98c68ffc0ebdf19e16d60d0d0176818ff3afe Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Mon, 20 May 2024 20:41:09 +0200
Subject: [PATCH] Make: upload

---
 Makefile  | 6 +++---
 Makerules | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 9199e75..b0d2125 100644
--- a/Makefile
+++ b/Makefile
@@ -22,8 +22,8 @@ clean::
 upload-all:
 	for ch in $(CHAPTERS) ; do $(MAKE) -C $$ch upload ; done
 
-#upload: $(MAIN).pdf
-#	rsync $(MAIN).pdf jabberwock:www/static/vyuka/dsnotes/
-#	ssh jabberwock 'cd web && make'
+upload: $(MAIN).pdf
+	rsync $(MAIN).pdf jabberwock:www/static/vyuka/crypto/
+	ssh jabberwock 'cd web && make'
 
 .PHONY: chapters upload upload-all
diff --git a/Makerules b/Makerules
index c504e02..d2efcd1 100644
--- a/Makerules
+++ b/Makerules
@@ -138,7 +138,7 @@ ifndef CUSTOM_UPLOAD
 
 upload::
 	make $(MAIN).pdf
-	rsync $(MAIN).pdf jabberwock:www/static/vyuka/dsnotes/$(FULL).pdf
+	rsync $(MAIN).pdf jabberwock:www/static/vyuka/crypto/$(FULL).pdf
 	ssh jabberwock 'cd web && make'
 
 endif
-- 
GitLab