elsarticle/doc/makefile
author Alpar Juttner <alpar@cs.elte.hu>
Tue, 22 Nov 2016 15:21:38 +0100
changeset 5 c04b029e623a
permissions -rw-r--r--
Reformatting III
     1 file=elsdoc
     2 
     3 
     4 all: pdf out 
     5 	make pdf
     6 	make pdf
     7 
     8 out:
     9 	if  [ -f $(file).out ] ; then cp $(file).out tmp.out; fi ;
    10 	sed 's/BOOKMARK/dtxmark/g;' tmp.out > x.out; mv x.out tmp.out ;
    11 
    12 pdf:
    13 	pdflatex $(file).tex
    14 
    15 index:
    16 	makeindex -s gind.ist -o $(file).ind $(file).idx 
    17 
    18 changes:
    19 	makeindex -s gglo.ist -o $(file).gls $(file).glo
    20 
    21 xview:
    22 #	xpdf -z 200 $(file).pdf &>/dev/null
    23 	open -a 'Skim.app' $(file).pdf 
    24 
    25 view:
    26 	open -a 'Adobe Reader.app' $(file).pdf
    27 
    28 ins:
    29 	latex $(file).ins 
    30 
    31 diff:
    32 	diff $(file).sty ../$(file).sty |less
    33 
    34 copy:
    35 	cp $(file).sty ../
    36