mirror of
https://github.com/BlackLight/Snort_AIPreproc.git
synced 2024-11-14 20:57:15 +01:00
20 lines
463 B
Makefile
20 lines
463 B
Makefile
|
all: clean refman.pdf
|
||
|
|
||
|
pdf: refman.pdf
|
||
|
|
||
|
refman.pdf: refman.tex
|
||
|
pdflatex refman.tex
|
||
|
makeindex refman.idx
|
||
|
pdflatex refman.tex
|
||
|
latex_count=5 ; \
|
||
|
while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\
|
||
|
do \
|
||
|
echo "Rerunning latex...." ;\
|
||
|
pdflatex refman.tex ;\
|
||
|
latex_count=`expr $$latex_count - 1` ;\
|
||
|
done
|
||
|
|
||
|
|
||
|
clean:
|
||
|
rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf
|