--- a/doc/s5/Makefile.orig	2019-06-10 15:00:18.102431700 +0300
+++ b/doc/s5/Makefile	2019-06-10 15:00:46.868882300 +0300
@@ -1,11 +1,12 @@
 PYTHON?=python
+RST2S5?=rst2s5.py
 
 SLIDES=$(subst .txt,.html,$(wildcard *.txt))
 
 slides: $(SLIDES)
 
 %.html: %.txt
-	$(PYTHON) rst2s5.py --current-slide --language=en $< $@
+	$(PYTHON) $(RST2S5) --current-slide --language=en $< $@
 
 clean:
 	rm -f *~ $(SLIDES)
