meillo@0: NAME = thesis meillo@79: CHAPS = style front.roff dedication.roff abstract.roff toc.roff \ meillo@107: preface.roff intro.roff discussion.roff summary.roff refs.roff meillo@0: PDFFLAGS = -sPAPERSIZE=a4 -dPDFSETTINGS=/prepress meillo@0: meillo@0: all: $(NAME).ps meillo@0: meillo@33: $(NAME).ps: $(CHAPS) makefile bib meillo@33: export TROFFONTS=fonts REFER=bib;\ meillo@92: soelim $(CHAPS) | refer -e -P -sLAD -l,2 -k | \ meillo@92: grap | pic | troff -Tps -ms 2>err.ig | dpost >$@ meillo@79: meillo@79: err.ig: $(CHAPS) meillo@79: export TROFFONTS=fonts REFER=bib;\ meillo@92: soelim $(CHAPS) | refer -e -P -sLAD -l,2 -k | \ meillo@92: grap | pic | troff -Tps -ms -rZ1 -z 2>$@ meillo@79: meillo@79: toc.roff: toc.ig meillo@79: toc.ig: err.ig meillo@79: sed -n '/^TOC____/s///p' $< >$@ meillo@0: meillo@0: pdf: $(NAME).pdf meillo@0: $(NAME).pdf: $(NAME).ps meillo@0: ps2pdf $(PDFFLAGS) $(NAME).ps meillo@0: meillo@0: book: book.pdf meillo@0: book.pdf: book.ps meillo@0: ps2pdf $(PDFFLAGS) book.ps meillo@0: book.ps: $(NAME).ps meillo@0: psbook -s16 $(NAME).ps | psnup -2 -m2mm >$@ meillo@0: meillo@0: clean: meillo@0: rm -f $(NAME).ps $(NAME).pdf book.ps book.pdf meillo@79: rm -f *.ig