All pastes #737992 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-10-15 22:17 UTC
rendered paste body
PROJET=bla

LATEX=pdflatex
READER=xpdf
CFIG=fig2dev

.PHONY:$(PROJET)
$(PROJET): fg
	$(LATEX) $(PROJET).tex
	$(LATEX) $(PROJET).tex

run:
	$(READER) $(PROJET).pdf

check-lang:
	aspell --lang=fr_FR --encoding=UTF-8 -c $(PROJET).tex

.PHONY:clean
clean: cleangraph
	find ./ -regextype posix-egrep -iregex '.+\.(aux|log|toc|lof|glo|ist|ind|gxs|gxg|ilg|glx|idx|out)' | xargs -r rm

.PHONY:cleangraph
cleangraph:
	find ./fig/ -regextype posix-egrep -iregex '.+\.(pdf|pdf_t)' | xargs -r rm

.PHONY:mrproper
mrproper: clean
	[ -f $(PROJET).pdf ] && rm $(PROJET).pdf
	
.PHONY: $(PROJET)