]> git.llucax.com Git - z.facultad/72.01/practicos.git/blob - Makefile
d1a2b8182e012b9ed4a767061153a402cbc6c638
[z.facultad/72.01/practicos.git] / Makefile
1
2 opts=--section-subtitles --language=es --use-latex-footnotes --use-latex-citations --use-latex-docinfo --use-latex-toc --use-verbatim-when-possible --hyperlink-color=0
3
4 all: resolucion_guia1.pdf
5
6 resolucion_guia1.latex: resolucion_guia1.rst
7         @echo 'Creando $@...'
8         @rst2latex ${opts} $< > $@
9
10 resolucion_guia1.pdf: resolucion_guia1.latex
11         @echo 'Creando $@...'
12         @pdflatex $< > /dev/null
13         @pdflatex $< > /dev/null
14
15 clean: clean-tmp
16         @rm -vf *.latex
17
18 clean-tmp:
19         @rm -vf *.log *.aux *.out
20
21 clean-all: clean
22         @rm -vf *.pdf
23
24 .PHONY: clean all
25