Line | |
---|
1 | |
---|
2 | docdir = $(datadir)/doc |
---|
3 | |
---|
4 | docfiles = phyml-manual.tex |
---|
5 | |
---|
6 | if HAVE_PDFLATEX |
---|
7 | docfiles += phyml-manual.pdf |
---|
8 | endif |
---|
9 | |
---|
10 | MANNAME = phyml-manual |
---|
11 | MANTEXSRC = $(MANNAME).tex |
---|
12 | MANIDX = $(MANNAME).idx |
---|
13 | |
---|
14 | CLEANFILES = $(MANNAME).pdf $(MANNAME).log $(MANNAME).idx $(MANNAME).out \ |
---|
15 | $(MANNAME).toc $(MANNAME).aux $(MANNAME).ilg $(MANNAME).ind $(MANNAME).dvi |
---|
16 | |
---|
17 | latex: $(MANTEXSRC) |
---|
18 | latex $< |
---|
19 | |
---|
20 | pdflatex: $(MANTEXSRC) |
---|
21 | pdflatex $< |
---|
22 | |
---|
23 | makeindex: $(MANIDX) |
---|
24 | makeindex $< |
---|
25 | |
---|
26 | phyml-manual.pdf: intro latex makeindex pdflatex |
---|
27 | @echo "" |
---|
28 | @echo "Done." |
---|
29 | |
---|
30 | intro: |
---|
31 | @echo "" |
---|
32 | @echo "" |
---|
33 | @echo ".: Building documentation :." |
---|
34 | @echo "" |
---|
35 | @echo "" |
---|
36 | |
---|
37 | dist_doc_DATA = $(docfiles) |
---|
38 | |
---|
39 | |
---|
40 | |
---|
Note: See
TracBrowser
for help on using the repository browser.