# Makefile # # For latex document processing #----- Edit these NAME := mstr_plan_i_pofs FILESTEX := $(NAME).tex FILESOTHER := Makefile #----- Targets default: @echo "make $(NAME).dvi very useful" @echo "make $(NAME).ps -" @echo "make $(NAME).pdf very useful" @echo "make pdfweb makes pdf and moves it to html dir" @echo "make see starts xdvi viewer" @echo "make spell not yet working perfectly" @echo "make clean cleans up a few files" @echo "make cleanall cleans up almost all non-source files" $(NAME).dvi: $(FILESTEX) $(FILESOTHER) latex $(NAME) latex $(NAME) latex $(NAME) see: $(NAME).dvi xdvi -s 7 $(NAME).dvi & $(NAME).ps: $(NAME).dvi dvips -Ppdf -G0 -t letter $(NAME).dvi $(NAME).pdf: $(NAME).ps ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 \ -dSubsetFonts=true -dEmbedAllFonts=true $(NAME).ps $(NAME).pdf spell: spelltex $(FILESTEX) clean: rm -f *.aux $(NAME).bbl $(NAME).blg $(NAME).log rm -f $(NAME).lof $(NAME).lot $(NAME).toc cleanall: clean rm -f $(NAME).dvi $(NAME).ps $(NAME).pdf $(NAME).out