File: Makefile

package info (click to toggle)
lilo 1%3A22.2-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,780 kB
  • ctags: 2,725
  • sloc: asm: 8,355; ansic: 7,864; sh: 1,054; perl: 755; makefile: 365
file content (50 lines) | stat: -rw-r--r-- 852 bytes parent folder | download | duplicates (3)
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
40
41
42
43
44
45
46
47
48
49
50
LATEX=latex
RLATEX=./rlatex
FIG2DEV=fig2dev
SHELL=/bin/sh

IMAGES=bootloader.tex map.tex image.tex parameter.tex other.tex

.SUFFIXES:	.fig .tex .dvi .ps

.fig.tex:
		$(FIG2DEV) -L latex $*.fig $*.tex

.tex.dvi:
		$(RLATEX) $*

all:		user.dvi tech.dvi user.ps tech.ps

user.ps:	user.dvi
		dvips -o user.ps user.dvi

tech.ps:	tech.dvi
		dvips -o tech.ps tech.dvi

user.dvi:	user.tex

tech.dvi:	tech.tex $(IMAGES)

../README:	user.tex
		perl t2a.pl <user.tex >../README || { rm -f ../README; exit 1; }

html:		user.ps tech.ps
		latex2html -split 2 -link 2 -toc_depth 2 user
		latex2html -split 1 -link 1 -toc_depth 1 tech

again:
		$(LATEX) user
		$(LATEX) tech

tidy:
		rm -f *~ *.toc *.aux *.log

clean:		tidy
		rm -f *.ps *.dvi
		rm -Rf user tech

spotless:	clean
		rm -f *.dvi $(IMAGES)

dummies:
		for n in $(IMAGES); do echo '(omitted)' >$$n; done