summaryrefslogtreecommitdiff
path: root/doc/Makefile.doc
blob: e824e894ec7d4b2d7f4d2385dbad2436a0e2b43c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
PROJET=archi

all: $(PROJET).dvi

$(PROJET).dvi: archi.tex bib.tex compilateur.tex conclusion.tex description.tex encodage.tex extensions.tex intro.tex simulateur.tex Compilo.eps
	echo 
	echo pass1
	echo
	latex $(PROJET)
	echo
	echo pass2
	echo
	latex $(PROJET)

source:
	for i in `find .. -name "*.c" -or -name "*.h" | grep -v /intl/ | grep -v /po/`;  do echo "\paragraph{$$i}"; echo "\lstinputlisting{$$i}"; done > source.tex

ps: $(PROJET).ps

$(PROJET).ps: $(PROJET).dvi
	dvips $(PROJET)

clean:
	rm -f  *.dvi *.aux *.toc *.ps *.log