blob: 864566de3b7e326af1f6a2334fc33f02651e8a9b (
plain)
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
75
|
#
# Makefile for pedigree program
#
# This file is in public domain
#
# $Id: Makefile,v 2.10 2007-07-29 19:52:53 boris Exp $
#
TEXFILES = pedigree.tex
INCLUDES = \
english.tex \
english1.tex \
russian.tex \
twins.tex \
abortions.tex \
childlessness.tex \
sort1.tex \
sort2.tex \
sort3.tex \
badsort.tex \
consanguinic.tex
PDFS = ${TEXFILES:%.tex=%.pdf}
all: $(PDFS)
%.pdf: %.ps
ps2pdf -sAutoRotatePages=None $<
%.ps: %.dvi
dvips -Ppdf -o $@ $<
#
# We need to cancel the implicit rule
#
%.dvi: %.tex
%.dvi: %.tex $(INCLUDES)
latex $<
- bibtex $*
latex $<
latex $<
while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \
do latex $<; done
%.tex: ../examples/english_short.cfg ../examples/%.csv
cd ..; perl -I. pedigree.pl -c examples/english_short.cfg -o doc/$*.tex examples/$*.csv
english1.tex: ../examples/english1.cfg ../examples/english.csv
cd ..; perl -I. pedigree.pl -c examples/english1.cfg -o doc/$@ examples/english.csv
abortions.tex: ../examples/english.cfg ../examples/abortions.csv
cd ..; perl -I. pedigree.pl -c examples/english.cfg -o doc/$@ examples/abortions.csv
english.tex: ../examples/english.cfg ../examples/english.csv
cd ..; perl -I. pedigree.pl -c examples/english.cfg -o doc/$@ examples/english.csv
russian.tex: ../examples/russian.cfg ../examples/russian.csv
cd ..; perl -I. pedigree.pl -c examples/russian.cfg -o doc/$@ examples/russian.csv
clean:
$(RM) *.aux *.bbl *.dvi *.log *.out *.toc *.blg *.lof *.lot *.lol pst-pdgr.tex pst-pdgr.sty
distclean: clean
rm -f ${PDFS} $(INCLUDES)
|