[MOAB-dev] r5121 - in MOAB/trunk: . doc

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Fri Aug 26 08:31:36 CDT 2011


Author: kraftche
Date: 2011-08-26 08:31:35 -0500 (Fri, 26 Aug 2011)
New Revision: 5121

Added:
   MOAB/trunk/doc/config.tex.in
Modified:
   MOAB/trunk/configure.ac
   MOAB/trunk/doc/Makefile.am
   MOAB/trunk/doc/seq.tex
Log:
Add rudimentary Makefile support for latex documents.

This is fairly basic in that it does not include configure support for
detecting the necessary tools (latex, dia, dvipdf, etc.) or the logic
for handling the case where said tools are not available. So this change
is for developer convenience only.  Continue to check in generated PDFs
so that automake doesn't try to re-build them for users.

config.tex(.in) (copied from Mesquite source) contains the magic for 
doing latex in a separate build directory.



Modified: MOAB/trunk/configure.ac
===================================================================
--- MOAB/trunk/configure.ac	2011-08-26 13:02:21 UTC (rev 5120)
+++ MOAB/trunk/configure.ac	2011-08-26 13:31:35 UTC (rev 5121)
@@ -1145,6 +1145,7 @@
 		 tools/vtkMOABReader/CMakeLists.txt
                  doc/Makefile
                  doc/user.dox
+                 doc/config.tex
                  examples/Makefile
                  examples/examples.make
                  examples/simple/makefile

Modified: MOAB/trunk/doc/Makefile.am
===================================================================
--- MOAB/trunk/doc/Makefile.am	2011-08-26 13:02:21 UTC (rev 5120)
+++ MOAB/trunk/doc/Makefile.am	2011-08-26 13:31:35 UTC (rev 5121)
@@ -2,7 +2,28 @@
 doc_DATA = MOAB-UG.doc \
            MOAB-performance.doc \
            seq.pdf 
+
+seq_dia = seq-uml-class.dia \
+          seq-data.dia
            
-EXTRA_DIST  = $(doc_DATA) seq.tex
+EXTRA_DIST  = $(doc_DATA) \
+	      seq.tex $(seq_dia)
 
+SUFFIXES = .dia .eps .dvi .pdf .ps .tex
 
+.dia.eps: 
+	dia -e $@ -t eps $<
+
+.dvi.pdf:
+	dvipdf $< $@	
+.dvi.ps:
+	dvips $< $@	
+
+.tex.dvi:
+	latex $<
+	latex $<
+	latex $<
+
+seq.dvi: seq.tex $(seq_dia)
+
+MOSTLYCLEANFILES = *.aux *.bbl *.blg *.lof *.log *.log *.toc

Added: MOAB/trunk/doc/config.tex.in
===================================================================
--- MOAB/trunk/doc/config.tex.in	                        (rev 0)


More information about the moab-dev mailing list