File: Makefile

package info (click to toggle)
kaya 0.2.0-6
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,012 kB
  • ctags: 1,307
  • sloc: cpp: 6,691; haskell: 4,833; sh: 2,868; yacc: 768; makefile: 700; perl: 87
file content (39 lines) | stat: -rw-r--r-- 695 bytes parent folder | download
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 webapps.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} $<