author | kleing |
Sat, 30 Apr 2005 02:45:17 +0200 | |
changeset 15894 | 41f9c0902db1 |
parent 15730 | 6480cd74feb3 |
child 16395 | 3446d2b6a19f |
permissions | -rw-r--r-- |
1 #
2 # $Id$
3 #
5 ## targets
7 default: dvi
9 ## paths
11 SRCPATH = Sugar/document
13 ## dependencies
15 include ../Makefile.in
17 NAME = sugar
19 FILES = Sugar/document/root.tex Sugar/document/root.bib \
20 Sugar/document/mathpartir.sty Sugar/document/LaTeXsugar.tex \
21 Sugar/document/OptionalSugar.tex
23 GARBAGE = Sugar/document/*.aux Sugar/document/*.log Sugar/document/*.toc \
24 Sugar/document/*.idx Sugar/document/*.bbl Sugar/document/*.blg \
25 Sugar/document/*.out
27 dvi: $(NAME).dvi
29 $(NAME).dvi: $(FILES)
30 cd Sugar/document; \
31 $(LATEX) root; \
32 $(BIBTEX) root; \
33 $(LATEX) root; \
34 $(LATEX) root
35 mv $(SRCPATH)/root.dvi $(NAME).dvi
37 pdf: $(NAME).pdf
39 $(NAME).pdf: $(FILES)
40 cd Sugar/document; \
41 $(PDFLATEX) root; \
42 $(BIBTEX) root; \
43 $(PDFLATEX) root; \
44 $(PDFLATEX) root
45 mv $(SRCPATH)/root.pdf $(NAME).pdf