diff --git a/Makefile b/Makefile
index 9d9a4e0d6243e66210ae5106a174dbf4d2c44f21..cf587e7af46ec9b8e521951c81268921e5efbd7c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
 MAIN=ds
+CUSTOM_UPLOAD=1
 
 all: $(MAIN).pdf sync-view
 
@@ -28,4 +29,8 @@ clean::
 upload-all:
 	for ch in $(CHAPTERS) ; do $(MAKE) -C $$ch upload ; done
 
-.PHONY: chapters upload-all
+upload: $(MAIN).pdf
+	rsync $(MAIN).pdf jabberwock:www/static/vyuka/dsnotes/
+	ssh jabberwock 'cd web && make'
+
+.PHONY: chapters upload upload-all