123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- RUBBER_INSTALLED := $(shell command -v rubber 2>/dev/null)
- WD := $(shell pwd)
- all: report.pdf
- report.pdf: dia report.tex
- ifdef RUBBER_INSTALLED
- rubber -d report.tex
- else
- pdflatex report.tex
- #bibtex
- pdflatex report.tex
- pdflatex report.tex
- @echo "=============================="
- @echo "= consider installing rubber ="
- @echo "=============================="
- endif
- dia:
- make -C dia
- clean:
- rm -f *.out
- rm -f *.toc
- rm -f *.log
- rm -f *.aux
- rm -f *.pdf
- rm -f *.bbl
- rm -f *.blg
- rm -f *~
- rm -f *.tar.gz
- make clean -C dia
- show:
- evince *.pdf &
- .PHONY: clean
- .PHONY: dia
|