File: Makefile

package info (click to toggle)
genomethreader 1.7.3%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 46,528 kB
  • sloc: ansic: 90,168; ruby: 1,769; makefile: 548; sh: 112; perl: 105
file content (74 lines) | stat: -rw-r--r-- 1,562 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
GTHMANUALTMP=gthmanual-tmp

GTHMANUALSRC=../../VERSION\
             ${GTHMANUALTMP}.tex\
             author.tex\
             LocalDefs.sty\
             speciestable.tex

ISPELLALL=author.ispell\
          gthmanual.ispell\
          optiontable.ispell\
          cutout.ispell\
          speciestable.ispell

all: ispellall\
     gthmanual.pdf

${GTHMANUALTMP}.tex: gthmanual.tex execcommand.pl
	#findemptyoutfiles.sh
	execcommand.pl $< > $@

gthmanual.pdf: ${GTHMANUALSRC}
	touch ${GTHMANUALTMP}.ind
	pdflatex ${GTHMANUALTMP}
	pdflatex ${GTHMANUALTMP}
	makeindex -q ${GTHMANUALTMP}.idx
	bibtex ${GTHMANUALTMP}
	pdflatex ${GTHMANUALTMP}
	bibtex ${GTHMANUALTMP}
	pdflatex ${GTHMANUALTMP}
	pdflatex ${GTHMANUALTMP}
	mv ${GTHMANUALTMP}.pdf $@

gthmanual.dvi: ${GTHMANUALSRC}
	touch ${GTHMANUALTMP}.ind
	latex ${GTHMANUALTMP}
	latex ${GTHMANUALTMP}
	makeindex -q ${GTHMANUALTMP}.idx
	bibtex ${GTHMANUALTMP}
	latex ${GTHMANUALTMP}
	bibtex ${GTHMANUALTMP}
	latex ${GTHMANUALTMP}
	latex ${GTHMANUALTMP}
	mv ${GTHMANUALTMP}.dvi $@

gthlicense.dvi: gthlicense.tex
	latex gthlicense
	latex gthlicense

gthlicense.pdf: gthlicense.tex
	pdflatex gthlicense
	pdflatex gthlicense

%.ispell: %.tex
	ispell -d american $<
	@touch $@

ispellall: ${ISPELLALL}

%.ps: %.dvi
	dvips $< -o $@

clean:
	rm -f *.toc *.ilg *.out *.idx *.ind *.log *.aux *.bbl *.blg *.lot *.lof
	rm -f ${GTHMANUALTMP}.tex
	rm -f output/*.out
	rm -f ceres.inter.gz new.inter.gz
	rm -f ceres_full.inter.gz.* 
	rm -f U89959.inter.gz.* 
	rm -f cdna
	rm -f *.scr*

cleanup: clean
	rm -f *.dvi *.ps *.ispell