From 01ecd4713914073b56b233989def00cbc5d61526 Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Thu, 26 Sep 2019 12:55:33 +0200
Subject: [PATCH] Makefiles: upload

---
 01-uvod/Makefile | 2 +-
 Makerules        | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/01-uvod/Makefile b/01-uvod/Makefile
index 3e3d727..79ba987 100644
--- a/01-uvod/Makefile
+++ b/01-uvod/Makefile
@@ -1,3 +1,3 @@
-all: 01-uvod.pdf
+SLIDES=01-uvod.pdf
 
 include ../Makerules
diff --git a/Makerules b/Makerules
index 4a1e6fd..c67f62a 100644
--- a/Makerules
+++ b/Makerules
@@ -1,8 +1,13 @@
 export SHELL=/bin/bash
 
+all: $(SLIDES)
+
 %.pdf: %.tex $(wildcard *.py)
 	pdflatex $<
 
 clean::
 	rm -f *.{aux,log,nav,out,snm,toc,vrb}
 	rm -f *.pdf
+
+upload::
+	rs $(SLIDES) jw:www/static/vyuka/1920/p1m/
-- 
GitLab