opts=--section-subtitles --language=es --use-latex-footnotes --use-latex-citations --use-latex-docinfo --use-latex-toc --use-verbatim-when-possible --hyperlink-color=0 all: resolucion_guia1.pdf resolucion_guia1.latex: resolucion_guia1.rst @echo 'Creando $@...' @rst2latex ${opts} $< > $@ resolucion_guia1.pdf: resolucion_guia1.latex @echo 'Creando $@...' @pdflatex $< > /dev/null @pdflatex $< > /dev/null clean: clean-tmp @rm -vf *.latex clean-tmp: @rm -vf *.log *.aux *.out clean-all: clean @rm -vf *.pdf .PHONY: clean all