File: Makefile

package info (click to toggle)
kaya 0.4.2-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,448 kB
  • ctags: 1,694
  • sloc: cpp: 9,536; haskell: 7,461; sh: 3,013; yacc: 910; makefile: 816; perl: 90
file content (39 lines) | stat: -rw-r--r-- 697 bytes parent folder | download | duplicates (4)
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
LATEX = latex
BIBTEX = bibtex
MAKEIDX = makeindex
DVIPS = dvips
DVIPDF = dvipdf

TARGET = kaya.ps

SRCS = kaya.tex macros.ltx builtins.tex	functions.tex structure.tex \
       expressions.tex future.tex lexical.tex types.tex \
       foreign.tex internals.tex modules.tex progtypes.tex

all: kaya.ps kaya.pdf

kaya.dvi: ${SRCS} references.bib

html:
	latex2html kaya.tex -local_icons -bottom_navigation -style kaya.css
	cp kaya.css kaya
	tidy -modify kaya/*.html

clean:
	rm -f *.aux *.bbl *.blg *.dvi *.log *.pdf *.ps 
	rm -rf kaya

distclean: clean
	rm -f *~

%.ps: %.dvi
	dvips -f $< > $@

%.pdf: %.dvi
	dvipdfm $<

%.dvi: %.tex ${SRCS}
	${LATEX} $<
	${BIBTEX} $*    
	${LATEX} $<
	${LATEX} $<