## ## Makefile for Secu in /home/tessar_m/misc/secu ## ## Made by Marco Tessari ## Modified by Jérôme Pouiller ## Login ## Login ## RM= rm -f NAME= report SRC= report.tex advBacktrack.tex elagage.tex iad.tex \ multiagents.tex neurones.tex PPC.tex SBC.tex BIB= report.bib PICT= images/blackboard.ps QUIET = > /dev/null 2> /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 $< & clean: $(RM) *.aux *.log *.out *.toc *~ *.bbl \ *.blg *.haux *.htoc *.image.tex *.image.tex.new 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: $(NAME).bbl $(PICT) # .htoc depend of all of files $(NAME).htoc: $(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: # Don't care about warning -hevea -info $(<:.htoc=.tex) $(QUIET) .htoc.html: # Don't care about warning -hevea $(<:.htoc=.tex) $(QUIET) .toc.dvi: latex $(<:.toc=.tex) $(QUIET) # .bbl depend of .aux and .aux has been regenerated touch $(NAME).bbl .aux.bbl: bibtex $(<:.aux=) $(QUIET) .tex.aux: latex $(NAME).tex $(QUIET) .tex.toc: latex $< $(QUIET) .tex.haux: # Don't care about warning -hevea $(NAME).tex $(QUIET) .tex.htoc: # Don't care about warning -hevea $< $(QUIET) # Fake rule for check .tex.check: aspell check --lang=francais $< # Cancel implicit .tex.dvi rule %.dvi : %.tex