# for latex-output, we join the different libraries of the
# deal.II library into just one file
-kdoc.deal_II = $(kdoc.basic) $(kdoc.grid) $(kdoc.dof) $(kdoc.num)
+kdoc.dealII = $(kdoc.basic) $(kdoc.grid) $(kdoc.dof) $(kdoc.num)
# user projects. the projects should be independant of each other, so
# we need not take care of cross-dependencies each time
# but it is hard to compute them from the '%'-sign used in the rule
%.tex: %.doc++
$(DOCPP) -p -t -u -o $@ -ep a4wide $<
- rm $^
+# rm $^
# generate temporary files from the doc++-latex-output which have
perl scripts/process-tex | \
perl -pi -e 's/cxx\./$(basename $(notdir $@)).cxx./g;' > $@
-latex/abc.tex: latex/base.tex1 latex/lac.tex1 latex/deal_II.tex1
+latex/abc.tex: latex/base.tex1 latex/lac.tex1 latex/dealII.tex1
@cat latex/header.tex > $@
@echo "\\\\chapter{Base library}" >> $@
+ @echo "\\\\def\\\\presentlib{base} >> $@
@cat latex/base.tex1 >> $@
@echo "\\\\chapter{Linear algebra library}" >> $@
+ @echo "\\\\def\\\\presentlib{lac} >> $@
@cat latex/lac.tex1 >> $@
@echo "\\\\chapter{deal.II library}" >> $@
- @cat latex/deal_II.tex1 >> $@
+ @echo "\\\\def\\\\presentlib{dealII} >> $@
+ @cat latex/dealII.tex1 >> $@
@cat latex/footer.tex >> $@
- rm $^
+# rm $^
%.dvi: %.tex
cd latex ; latex $(notdir $<)
cd latex ; latex $(notdir $<)
- -rm $(subst .tex,.toc,$<)
+ -rm $(subst .tex,.log,$<)
+ -rm $(subst .tex,.aux,$<)
clean:
- -rm -f kdoc/names.html kdoc/*.kdoc kdoc/*/*.html cvs-backlog/*.html latex/*
+ -rm -f kdoc/names.html kdoc/*.kdoc kdoc/*/*.html cvs-backlog/*.html \
+ latex/base.* latex/lac.* latex/dealII.*
-.PHONY: default all kdoc $(kdoc.library-files) $(kdoc.library-files.rerun) clean
\ No newline at end of file
+.PHONY: default all kdoc $(kdoc.library-files) $(kdoc.library-files.rerun) clean