SHELL = /bin/sh FILES = manual.tex front.tex abstract.tex \ LATEX=latex LATEX2HTML=latex2html BIBTEX=bibtex PDFLATEX=pdflatex MAKEINDEX=makeindex all: manual.dvi manual.ps manual.pdf #all: manual.pdf manual.dvi: $(FILES) $(LATEX) manual; # ($(LATEX) manual; \ # $(BIBTEX) manual; \ # $(LATEX) manual; \ # $(MAKEINDEX) manual; \ # $(LATEX) manual; \ # $(LATEX) manual ) manual.ps: manual.dvi dvips -t a4 -o manual.ps manual.dvi manual-book.ps: manual.ps # pstops "4:0L@0.8(22.76cm,-0.6cm)+1L@0.8(22.76cm,13.45cm),3R@0.8(-1.38cm,16.25cm)+2R@0.8(-1.38cm,30.3cm)" \ # out.ps manual-book.ps # psbook manual.ps out.ps psbook manual.ps | pstops -pa4 "4:0@.7L(21cm,00)+1L@.7(21cm,14.8cm),2L@.7(21cm,00)+3L@.7(21cm,14.8cm)" > manual-book.ps rm out.ps #ps2pdf manual-book-odd.ps #ps2pdf manual-book-even.ps #ps2pdf manual-book.ps manual.pdf:$(FILES) $(PDFLATEX) manual; \ # $(BIBTEX) manual; \ # $(PDFLATEX) manual; \ # $(MAKEINDEX) manual; \ # thumbpdf manual.pdf ; \ # $(PDFLATEX) manual) quick: $(FILES) (TEXINPUTS=`pwd`/src:$(TEXINPUTS); export TEXINPUTS; cd texbuild; \ $(LATEX) manual; dvips -omanual.ps manual.dvi; \ mv manual.ps ..) html: ${FILES} ($(LATEX2HTML) -dir html/ -scalable_fonts 1 -local_icons 1 \ -info info -antialias 1 -antialias_text 1 manual.tex ) clean: $(FILES) rm *.idx rm *.ilg rm *.ind rm *.bbl rm *.blg rm *.toc rm *.mtc* rm manual.pdf manual.ps manual.dvi #rm minitoc.dvi rm *.bmt