## ## Makefile for Secu in /home/tessar_m/misc/secu ## ## Made by Marco Tessari ## Modified by Jérôme Pouiller ## Login ## Login ## RM = rm -f ALL = report QUIET = > /dev/null 2> /dev/null QUIETMK = --silent .SUFFIXES: .toc .tex .aux .bib .bbl .dvi .pdf .ps .html \ .haux .htoc .check .jpg .tif .bmp .png .pnm .PHONY: default all cv web images pdf ps dvi html txt \ text info check jpg tif bmp png pnm print \ view viewpdf viewps viewdvi clean distclean default: pdf all: dvi pdf ps html info txt images cv: $(CV:=.pdf) web: all images txt html clean images: png pnm jpg tif bmp pdf: $(ALL:=.pdf) ps: $(ALL:=.ps) dvi: $(ALL:=.dvi) html: $(ALL:=.html) text: txt txt: $(ALL:=.txt) info: $(ALL:=.info) check: $(SRC:.tex=.check) print: $(ALL:=.pdf) lpr $< view: viewpdf viewdvi: $(ALL:=.dvi) xdvi $< & viewps: $(ALL:=.ps) gv $< & viewpdf: $(ALL:=.pdf) xpdf $< & clean: $(RM) *.aux *.log *.out *.toc *~ *.bbl *.tex.bak \ *.blg *.haux *.htoc *.image.tex *.image.tex.new distclean: clean $(RM) *.dvi *.ps *.pdf *.html *.info *.txt \ $(ALL:=.png) $(ALL:=.jpg) $(ALL:=.bmp) $(ALL:=.pnm) .html.txt: links -dump $< > $@ .htoc.info: # Don't care about warning -hevea -info $(<:.htoc=.tex) $(QUIET) .htoc.html: # Don't care about warning -hevea $(<:.htoc=.tex) $(QUIET) .tex.dvi: ./latexmk.pl $(QUIETMK) $< .tex.ps: ./latexmk.pl $(QUIETMK) -i -I -ps $< ## Use of pdflatex by default #.tex.pdf: # ./latexmk.pl $(QUIETMK) -i -I -pdf $< .dvi.pdf: dvipdf $< $(QUIET) .tex.htoc: # Don't care about warning -hevea $< $(QUIET) .tex.png: latex2png $< .png.pnm: convert $< $@ .png.jpg: convert $< $@ .png.bmp: convert $< $@ .png.tif: convert $< $@ # Fake rule for check .tex.check: aspell check --lang=francais $<