NAME=slides FILES=$(NAME).pdf $(NAME).odp $(NAME).html all: $(FILES) %.pdf: %.rst rst2xetex $< $(basename $<).tex xelatex $(basename $<).tex xelatex $(basename $<).tex %.odp: %.rst rst2odp $< $@ %.html: %.rst rst2s5 $< $@ clean: rm -f *.aux *.log *.tex