From 5cc0d45db39afff3bceae05977c89709cf9dd30a Mon Sep 17 00:00:00 2001 From: Pixel Date: Wed, 2 May 2001 00:39:39 +0000 Subject: Plop --- doc/Makefile.doc | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 doc/Makefile.doc (limited to 'doc/Makefile.doc') diff --git a/doc/Makefile.doc b/doc/Makefile.doc new file mode 100644 index 0000000..f71be85 --- /dev/null +++ b/doc/Makefile.doc @@ -0,0 +1,30 @@ +PROJET=polynom + +all: $(PROJET).dvi + +$(PROJET).dvi: bib.tex conclusion.tex description.tex intro.tex manuel.tex outils.tex polynom.tex source.tex + echo + echo pass1 + echo + latex $(PROJET) + echo + echo pass2 + echo + latex $(PROJET) + +source.tex: + echo '\section{Includes}' > source.tex + for i in `find ../include -name *.h` ; do echo "\subsection{`basename $$i`}"; echo "\lstinputlisting{$$i}"; done >> source.tex + echo '\section{Sources de la librairie}' >> source.tex + for i in `find ../lib -name *.c` ; do echo "\subsection{`basename $$i`}"; echo "\lstinputlisting{$$i}"; done >> source.tex + echo '\section{Sources du frontend}' >> source.tex + for i in `find ../src -name *.c` ; do echo "\subsection{`basename $$i`}"; echo "\lstinputlisting{$$i}"; done >> source.tex + +ps: $(PROJET).ps + +$(PROJET).ps: $(PROJET).dvi + dvips $(PROJET) + +clean: + rm -f *.dvi *.aux *.toc *.ps *.log source.tex + -- cgit v1.2.3