Last change
on this file since 402 was
371,
checked in by nanardon, 12 years ago
|
add database part
|
-
Property svn:eol-style set to
native
|
File size:
1.1 KB
|
Rev | Line | |
---|
[140] | 1 | # $Id: Makefile 113 2006-07-07 10:02:33Z nanardon $ |
---|
| 2 | |
---|
[144] | 3 | .SUFFIXES: .dvi .pdf .eps .fig .png .jpg |
---|
[140] | 4 | |
---|
| 5 | SOURCES= \ |
---|
| 6 | presentation.tex |
---|
| 7 | |
---|
[371] | 8 | INC = bdb.tex planeto.tex cartes.tex |
---|
| 9 | |
---|
[140] | 10 | FIGURES= \ |
---|
| 11 | |
---|
[147] | 12 | IMAGES= $(IMAGESJPG) $(IMAGESPNG) |
---|
| 13 | |
---|
| 14 | IMAGESPNG= \ |
---|
[141] | 15 | skyview.png \ |
---|
| 16 | saturn.png \ |
---|
| 17 | earth.png \ |
---|
| 18 | earth-sea.png \ |
---|
| 19 | moon.png \ |
---|
| 20 | mars.png \ |
---|
| 21 | c-earth.png c-hubble.png \ |
---|
[144] | 22 | c-io-jupiter.png c-venus.png \ |
---|
[244] | 23 | dr-who.png \ |
---|
| 24 | stellarium-000.png \ |
---|
[357] | 25 | stellarium-002.png \ |
---|
| 26 | google-maps.png |
---|
[147] | 27 | |
---|
| 28 | IMAGESJPG= \ |
---|
[144] | 29 | g-andromede.jpg g-nebuleuse-orion.jpg \ |
---|
| 30 | g-uranus-neptune.jpg g-mercure-jupiter.jpg \ |
---|
[357] | 31 | gmt_usage.jpg \ |
---|
[140] | 32 | |
---|
[357] | 33 | |
---|
[140] | 34 | EXAMPLES = \ |
---|
| 35 | |
---|
| 36 | DVI=$(SOURCES:.tex=.dvi) |
---|
| 37 | PDF=$(SOURCES:.tex=.pdf) |
---|
[147] | 38 | EPS= $(FIGEPS) $(PNGEPS) $(JPGEPS) |
---|
[140] | 39 | |
---|
[147] | 40 | FIGEPS = $(FIGURES:.fig=.eps) |
---|
| 41 | |
---|
| 42 | PNGEPS = $(IMAGESPNG:.png=.eps) |
---|
| 43 | |
---|
| 44 | JPGEPS = $(IMAGESJPG:.jpg=.eps) |
---|
| 45 | |
---|
[140] | 46 | all: pdf |
---|
| 47 | |
---|
| 48 | pdf: $(EPS) $(PDF) |
---|
| 49 | |
---|
| 50 | dvi: $(EPS) $(DVI) |
---|
| 51 | |
---|
| 52 | pesentation.dvi: |
---|
| 53 | |
---|
| 54 | %.dvi: %.tex $(EPS) |
---|
| 55 | latex -halt-on-error $< && latex -halt-on-error $< |
---|
| 56 | |
---|
[371] | 57 | %.pdf: %.tex $(INC) |
---|
[244] | 58 | pdflatex -halt-on-error $< && pdflatex -halt-on-error $< |
---|
[140] | 59 | |
---|
| 60 | %.eps: %.fig |
---|
| 61 | fig2dev -L eps $< $@ |
---|
| 62 | |
---|
| 63 | .png.eps: |
---|
| 64 | convert $< $@ |
---|
| 65 | |
---|
[144] | 66 | .jpg.eps: |
---|
| 67 | convert $< $@ |
---|
| 68 | |
---|
[140] | 69 | clean: |
---|
| 70 | rm -f $(EPS) |
---|
| 71 | rm -f $(DVI) |
---|
| 72 | rm -f $(PDF) |
---|
| 73 | |
---|
| 74 | .PHONY: clean |
---|
Note: See
TracBrowser
for help on using the repository browser.