source: trunk/darcs/Makefile @ 74

Last change on this file since 74 was 62, checked in by nanardon, 18 years ago
  • add exemple of usage
  • Property svn:keywords set to Id
File size: 493 bytes
Line 
1# $Id$
2
3.SUFFIXES: .dvi .pdf .eps .fig .png
4
5SOURCES= \
6        darcs.tex
7
8FIGURES= \
9        depots.fig \
10        depots_solo.fig \
11        depots_p2p.fig \
12        depots_multi.fig
13
14IMAGES= \
15        darcs.png \
16
17DVI=$(SOURCES:.tex=.dvi)
18PDF=$(SOURCES:.tex=.pdf)
19EPS=$(FIGURES:.fig=.eps) $(IMAGES:.png=.eps)
20
21all: pdf
22
23pdf: $(EPS) $(PDF)
24
25dvi: $(EPS) $(DVI)
26
27.tex.dvi: eps
28        latex $<
29
30.dvi.pdf:
31        dvipdf $< $@
32
33.fig.eps:
34        fig2dev -L eps  $< $@
35
36.png.eps:
37        convert $< $@
38
39clean:
40        rm -f $(EPS)
41        rm -f $(DVI)
42        rm -f $(PDF)
43
44.PHONY: clean
Note: See TracBrowser for help on using the repository browser.