## ## Makefile for Secu in /home/tessar_m/misc/secu ## ## Made by Marco Tessari ## Login ## RM= rm -f NAME= report SRC= report.tex BIB= report.bib PICT= domaineia.eps legend.eps #STDCLEAN = '> /dev/null' .SUFFIXES: .toc .tex .aux .bib .bbl .dvi .pdf .ps .html .haux .htoc .check default: pdf @echo @echo -n "" @echo "Written by: " @echo @cat AUTHORS @echo "" all: dvi pdf ps html info txt pdf: $(NAME).pdf ps: $(NAME).ps dvi: $(NAME).dvi html: $(NAME).html text: txt txt: $(NAME).txt info: $(NAME).info check: $(SRC:.tex=.check) print: $(NAME).pdf lpr $< view: viewpdf viewdvi: $(NAME).dvi xdvi $< & viewps: $(NAME).ps gv $< & viewpdf: $(NAME).pdf xpdf $< & dev: distclean viewpdf clean: $(RM) *.aux *.log *.out *.toc *~ *.bbl *.blg *.haux *.htoc *.image.tex distclean: clean $(RM) *.dvi *.ps *.pdf *.html *.info *.txt # This dependency must be made for each file wich include other files $(NAME).aux: $(SRC) # This dependency must be made for each file wich include other files $(NAME).haux: $(SRC) # .toc depend of all of files $(NAME).toc: $(SRC:.tex=.aux) $(NAME).bbl $(PICT) # .htoc depend of all of files $(NAME).htoc: $(SRC:.tex=.haux) $(NAME).bbl $(PICT) # Make this dependency for all .bbl (.bib and .aux) $(NAME).bbl: $(BIB) $(NAME).aux .html.txt: links -dump $< > $@ .dvi.pdf: dvipdf $< .dvi.ps: dvips -f $< > $@ .htoc.info: hevea -info $(<:.htoc=.tex) $(STDCLEAN) .htoc.html: hevea $(<:.htoc=.tex) $(STDCLEAN) .toc.dvi: latex $(<:.toc=.tex) $(STDCLEAN) .aux.bbl: bibtex $(<:.aux=) $(STDCLEAN) .tex.aux: $< latex $< $(STDCLEAN) .tex.toc: latex $< $(STDCLEAN) .tex.haux: hevea $< $(STDCLEAN) .tex.htoc: hevea $< $(STDCLEAN) # Fake rule for check .tex.check: aspell check --lang=francais $< # Cancel implicit .tex.dvi rule %.dvi : %.tex