# cintposman Makefile

PUB = /homes/mr/public_html

src = cintposman.tex ../bibdatabase.bib

help:
	@echo
	@echo "make gv    Make cintposman.ps and view it with ghostview"
	@echo "make pr    Print cintposman.ps"
	@echo "make pub   Put cintposman.pdf in my public_html directory"
	@echo

pr:	cintposman.ps
	lpr cintposman.ps
	lpq

cintposman.ps:	$(src)
	latex cintposman
	bibtex cintposman
	latex cintposman
	bibtex cintposman
	latex cintposman
	bibtex cintposman
#	dvips -Ppdf -pp 49-54,85-100 -o cintposman.ps cintposman.dvi
	dvips -Ppdf -pp 0-200 -o cintposman.ps cintposman.dvi

ps:	cintposman.ps

gv:	cintposman.ps
	ghostview cintposman.ps

pub:	cintposman.ps
	ps2pdf cintposman.ps $(PUB)/cintposman.pdf

#vclean:	clean

clean:
	rm -f *~ core
	rm -f *.log *.dvi *.aux *.blg *.err cintposman.ps
	rm -f *.idx *.ilg *.lof
	rm -f *.toc *.bbl



