DOCUM=contrib

final:
	make -iB bibtex
	make -iB clean	

zip:
	zip LatexSourceFiles *.tex *.pdf *.jpg *.png  biblio.bib 

view:
	make kdpf &

bibtex:
	make pdf; make bibbase; make bibbase; make pdf; make pdf

bibbase:
	bibtex $(DOCUM)

edit:
	kile  makefile $(DOCUM).tex &
	echo "xterm -e make -C $$PWD pdf" >~/bin/F12
	konsole &
	make kpdf &

pdf:
	pdflatex $(DOCUM).tex

ar:
	acroread $(DOCUM).pdf &


gv:
	gv $(DOCUM).pdf &

xpdf:
	xpdf $(DOCUM).pdf &

kpdf:
	kpdf $(DOCUM).pdf &

rsyncLB:
	rsync -r -u -v -e ssh $$PWD bn:$${PWD%/*}

rsyncBL:
	rsync -r -u -v -e ssh bn:$$PWD $${PWD%/*}

clean: 
	rm contrib.aux contrib.bbl contrib.blg contrib.log contrib.spl