diff options
author | Pixel <> | 2001-04-17 04:45:43 +0000 |
---|---|---|
committer | Pixel <> | 2001-04-17 04:45:43 +0000 |
commit | c0dafd7b9e9092621f1f1e018d458ef682241b72 (patch) | |
tree | 658de937d1576e2448be9dacecdcf23a56de6357 /doc | |
parent | 5d214e711251ab08ddec5ffd22a3eafba450521a (diff) |
Makefile
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Dumb.doc.fr | 0 | ||||
-rw-r--r-- | doc/Makefile.am | 16 | ||||
-rw-r--r-- | doc/Makefile.doc | 16 |
3 files changed, 29 insertions, 3 deletions
diff --git a/doc/Dumb.doc.fr b/doc/Dumb.doc.fr deleted file mode 100644 index e69de29..0000000 --- a/doc/Dumb.doc.fr +++ /dev/null diff --git a/doc/Makefile.am b/doc/Makefile.am index 54d0db0..d707057 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1 +1,15 @@ -EXTRA_DIST = Dumb.doc.fr +EXTRA_DIST = registres.txt archi.tex bib.tex compilateur.tex conclusion.tex description.tex encodage.tex exemples.tex extensions.tex intro.tex manuel.tex probs.tex simulateur.tex Makefile.doc + +all: archi.ps + +source.tex: + make -f Makefile.doc source + +archi.dvi: archi.tex bib.tex compilateur.tex conclusion.tex description.tex encodage.tex exemples.tex extensions.tex intro.tex manuel.tex probs.tex simulateur.tex source.tex + make -f Makefile.doc + +archi.ps: archi.dvi + make -f Makefile.doc archi.ps + +clean: + make -f Makefile.doc clean diff --git a/doc/Makefile.doc b/doc/Makefile.doc index e824e89..f72d54b 100644 --- a/doc/Makefile.doc +++ b/doc/Makefile.doc @@ -13,7 +13,19 @@ $(PROJET).dvi: archi.tex bib.tex compilateur.tex conclusion.tex description.tex 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 + 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 des librairies}' >> source.tex + echo '\subsection{Librairie assembleur}' >> source.tex + for i in ../lib/meta.c ../lib/parser.c ../lib/assembler.c ; do echo "\subsubsection{`basename $$i`}"; echo "\lstinputlisting{$$i}"; done >> source.tex + echo '\subsection{Librairie linker}' >> source.tex + for i in ../lib/linker.c ; do echo "\subsubsection{`basename $$i`}"; echo "\lstinputlisting{$$i}"; done >> source.tex + echo '\subsection{Librairie simulateur}' >> source.tex + for i in ../lib/simulator.c ../lib/registre.c ../lib/memoire.c ../lib/alu.c ../lib/fpu.c ../lib/interne.c ; do echo "\subsubsection{`basename $$i`}"; echo "\lstinputlisting{$$i}"; done >> source.tex + echo '\subsection{Sources divers}' >> source.tex + for i in ../lib/exceptions.c ../lib/hash.c ../lib/numbers.c ../lib/terminal.c ; do echo "\subsubsection{`basename $$i`}"; echo "\lstinputlisting{$$i}"; done >> source.tex + echo '\section{Sources des frontends}' >> source.tex + for i in `find ../src -name *.c` ; do echo "\subsection{`basename $$i`}"; echo "\lstinputlisting{$$i}"; done >> source.tex ps: $(PROJET).ps @@ -21,4 +33,4 @@ $(PROJET).ps: $(PROJET).dvi dvips $(PROJET) clean: - rm -f *.dvi *.aux *.toc *.ps *.log + rm -f *.dvi *.aux *.toc *.ps *.log source.tex |