doc: Set manual title in the Makefile itself instead of in a separate title.html
authorRamprasad Venkataraman <ramv@illinois.edu>
Sat, 4 Aug 2012 17:48:53 +0000 (12:48 -0500)
committerRamprasad Venkataraman <ramv@illinois.edu>
Sat, 4 Aug 2012 18:20:03 +0000 (13:20 -0500)
40 files changed:
doc/Makefile.common
doc/ampi/Makefile
doc/ampi/title.html [deleted file]
doc/bignetsim/Makefile
doc/bignetsim/title.html [deleted file]
doc/bigsim/Makefile
doc/bigsim/title.html [deleted file]
doc/charisma/Makefile
doc/charisma/title.html [deleted file]
doc/charm++/Makefile
doc/charm++/title.html [deleted file]
doc/converse/Makefile
doc/converse/title.html [deleted file]
doc/convext/Makefile
doc/convext/title.html [deleted file]
doc/debugger/Makefile
doc/debugger/title.html [deleted file]
doc/dot.latex2html-init
doc/f90charm/Makefile
doc/f90charm/title.html [deleted file]
doc/faq/Makefile
doc/faq/title.html [deleted file]
doc/fem/Makefile
doc/fem/title.html [deleted file]
doc/ifem/Makefile
doc/ifem/title.html [deleted file]
doc/libraries/Makefile
doc/libraries/title.html [deleted file]
doc/mblock/Makefile
doc/mblock/title.html [deleted file]
doc/netfem/Makefile
doc/netfem/title.html [deleted file]
doc/parfum/Makefile
doc/parfum/title.html [deleted file]
doc/pose/Makefile
doc/pose/title.html [deleted file]
doc/projections/Makefile
doc/projections/title.html [deleted file]
doc/tcharm/Makefile
doc/tcharm/title.html [deleted file]

index 0e73916c160ca015ffb0db1dd4e177d66c885a1d..729f991e48bb0fcac00850be3ad92a060a99d903 100644 (file)
@@ -7,6 +7,7 @@
 #   TEX: all TeX files to depend on (often just "manual.tex")
 #   DEST: destination manual name (e.g., "fem")
 #   LATEX2HTML: call to latex2html, which should be "$(L2H) <args>"
+#   DOCTITLE: title of the manual
 # (optional) PROJECT_LINK: HTML to include at bottom of page
 
 # Destination directory for local copy of files (e.g., on user machine)
@@ -62,7 +63,7 @@ $(FILE): $(TEX) $(FILE).aux
        -/bin/cp title.html $(FILE)
        $(L2H) -split 0 $(FILE).tex
        -@mv $(FILE)/$(FILE).html $(FILE)/$(FILE)-1p.html
-       $(LATEX2HTML) $(FILE).tex
+       export MANUALTITLE=$(DOCTITLE) && $(LATEX2HTML) $(FILE).tex && unset MANUALTITLE
        ../l2h_sanitize_markup.sh
 
 # LaTeX Index and link support
index a2e823d75abb79888c6e273446cc0964bee1505e..fac27c04a1a795e8074069e33fc99781910312f9 100644 (file)
@@ -3,6 +3,7 @@ FILE=manual
 TEX=$(FILE).tex
 DEST=ampi
 LATEX2HTML=$(L2H) -split 4
+DOCTITLE='Adaptive MPI Manual'
 PROJECT_LINK='<a href="http://charm.cs.uiuc.edu/research/ampi">AMPI Homepage</a><br>'
 
 include ../Makefile.common
diff --git a/doc/ampi/title.html b/doc/ampi/title.html
deleted file mode 100644 (file)
index 8209fc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Adaptive MPI Manual
index a70667042f09cfbcf7f532fb94cf1de271b4aeb7..88567d7f99427fe9e3d7c913ea74db705ad681a5 100644 (file)
@@ -4,6 +4,7 @@ TEX     = $(FILE).tex bignetsim.tex install.tex interconnects.tex usage.tex
 
 DEST   = bignetsim
 LATEX2HTML     = $(L2H) -split 5
+DOCTITLE = 'BigSimulator (BigNetSim) Parallel Simulator Manual'
 
 include ../Makefile.common
 
diff --git a/doc/bignetsim/title.html b/doc/bignetsim/title.html
deleted file mode 100644 (file)
index f1c39ed..0000000
+++ /dev/null
@@ -1 +0,0 @@
-BigSimulator (BigNetSim) Parallel Simulator Manual
index 23531f160e9c1d0794ab98796163bc756817de0d..9e3d9004cabd7c3969e1b62eaa2544ae7ba22a0d 100644 (file)
@@ -4,6 +4,7 @@ TEX     = $(FILE).tex install.tex emulator.tex bgapi.tex interpolation.tex
 
 DEST   = bigsim
 LATEX2HTML     = $(L2H) -split 5
+DOCTITLE = 'BigSim Parallel Emulator Manual'
 
 include ../Makefile.common
 
diff --git a/doc/bigsim/title.html b/doc/bigsim/title.html
deleted file mode 100644 (file)
index 86e939d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-BigSim Parallel Emulator Manual
index 55986477738bc23de47a4a9cb0d58bedde86c556..a949aa60b1c5864e82e819fdeab5f9c296d553fe 100644 (file)
@@ -3,6 +3,7 @@ FILE=manual
 TEX=$(FILE).tex
 DEST=charisma
 LATEX2HTML=$(L2H) -split 4
+DOCTITLE='Charisma Manual'
 PROJECT_LINK='<a href="http://charm.cs.uiuc.edu/research/orch">Charisma Homepage</a><br>'
 
 include ../Makefile.common
diff --git a/doc/charisma/title.html b/doc/charisma/title.html
deleted file mode 100644 (file)
index 17e93f2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Charisma Manual
index 4b7020969e5a53bcebe9fefb806346b12262400a..5a25486f5eaa73295d22cf986e2410b8bc401987 100644 (file)
@@ -9,6 +9,7 @@ TEX=$(FILE).tex arrays.tex callbacks.tex chares.tex commlib.tex delegation.tex \
        ../projections/tracing.tex
 DEST=charm++
 LATEX2HTML=$(L2H) -split 5
+DOCTITLE = 'Charm++ Manual'
 
 include ../Makefile.common
 
diff --git a/doc/charm++/title.html b/doc/charm++/title.html
deleted file mode 100644 (file)
index 8607b0a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Charm++ Parallel Programming System: Manual
index 4800aadec2bafa99c6fe860dbe1b4738eaf44a53..6bb927c9edf8da681560699e432e1dc08aa326e2 100644 (file)
@@ -5,6 +5,7 @@ TEX=$(FILE).tex ccs.tex cmi.tex conditions.tex cpvmacros.tex isomalloc.tex \
        onesided.tex persistent.tex
 DEST=converse
 LATEX2HTML=$(L2H) -split 5
+DOCTITLE='C<SMALL>ONVERSE</SMALL> Programming Manual'
 PROJECT_LINK='<a href="http://charm.cs.uiuc.edu/research/converse">Converse Homepage</a><br>'
 
 include ../Makefile.common
diff --git a/doc/converse/title.html b/doc/converse/title.html
deleted file mode 100644 (file)
index c4090d6..0000000
+++ /dev/null
@@ -1 +0,0 @@
-C<SMALL>ONVERSE</SMALL> Programming Manual
index 373d6214d07d17d37a8db573bff5c0b2c3b6f5d5..9e7c337bbab6894e1fc86b93b063bcd6a6608c4d 100644 (file)
@@ -4,6 +4,7 @@ TEX= $(FILE).tex cldb.tex   cpm.tex     index.tex   msgmgr.tex  random.tex  \
        cms.tex    ds.tex       ldb.tex   cpath.tex  futures.tex  pthreads.tex
 DEST=convext
 LATEX2HTML=$(L2H) -split 5
+DOCTITLE='C<SMALL>ONVERSE</SMALL> Extensions Library Manual'
 
 include ../Makefile.common
 
diff --git a/doc/convext/title.html b/doc/convext/title.html
deleted file mode 100644 (file)
index 3f05986..0000000
+++ /dev/null
@@ -1 +0,0 @@
-C<SMALL>ONVERSE</SMALL> Extensions Library Manual
index d404c8cc3a2b5badde0596560706e2465a24b306..99be45a67f47f72f09bd00f5dba3d0b0c42e9a9e 100644 (file)
@@ -3,6 +3,7 @@ FILE=manual
 TEX=$(FILE).tex 
 DEST=debugger
 LATEX2HTML=$(L2H) -split 5
+DOCTITLE='C<SMALL>HARM++</SMALL> Debugger Manual'
 PROJECT_LINK='<a href="http://charm.cs.uiuc.edu/research/debugger">CharmDebug Homepage</a><br>'
 
 FIG_TARGET=build_eps_fig
diff --git a/doc/debugger/title.html b/doc/debugger/title.html
deleted file mode 100644 (file)
index d4305ec..0000000
+++ /dev/null
@@ -1 +0,0 @@
-C<SMALL>HARM++</SMALL> Debugger Manual
index 323f828289651422eab0969cc4cbef4aa49012cd..e4dd3ab31a0fe50c232132e09025d2aa2126cf71 100644 (file)
@@ -163,7 +163,9 @@ sub top_navigation_panel {
     ($NEXT_TITLE ? '<li id="nav-next"><strong> Next:</strong>' . $NEXT_TITLE . "</li>\n" : undef) . 
     "</ul>" .
 
-    "<div class=\"manualtitle\">Charm++ Manual</DIV>\n"
+    '<div class="manualtitle">' .
+    ($ENV{'MANUALTITLE'} ? $ENV{'MANUALTITLE'} : undef) .
+    "</div>\n"
 }
 
 sub bot_navigation_panel {
index 01cf6dac69f10b7f182604eab2d8a6a14b4698b7..d87a900c64ea22d41cce635c31a4de3e52a24dca 100644 (file)
@@ -4,6 +4,7 @@ TEX=$(FILE).tex
 
 DEST=f90charm
 LATEX2HTML=$(L2H) -split 5
+DOCTITLE='Fortran90 Bingings for C<SMALL>HARM++</SMALL>'
 
 include ../Makefile.common
 
diff --git a/doc/f90charm/title.html b/doc/f90charm/title.html
deleted file mode 100644 (file)
index e511383..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Fortran90 Bingings for C<SMALL>HARM++</SMALL>
index 2796cd24b24acc5564a0f5fd51aa6e1b2be28753..17ec9313cb6360387978f49a06e65ab2b7ca937a 100644 (file)
@@ -4,6 +4,7 @@ TEX=$(FILE).tex overview.tex charm.tex arrays.tex groups.tex messages.tex \
        other.tex install.tex debugging.tex ports.tex converse.tex internals.tex pup.tex
 DEST=faq
 LATEX2HTML=$(L2H) -split 4
+DOCTITLE='C<SMALL>HARM++</SMALL> Frequently Asked Questions'
 
 include ../Makefile.common
 
diff --git a/doc/faq/title.html b/doc/faq/title.html
deleted file mode 100644 (file)
index d76baa4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-C<SMALL>HARM++</SMALL> Frequently Asked Questions
index 745359db7eb5707b410dbe39c3fa10fc561862a1..542cc40c3d7d5b4025ab20c23281b0be29355419 100644 (file)
@@ -3,6 +3,7 @@ FILE=manual
 TEX=$(FILE).tex idxl.tex mesh.tex parfum.tex
 DEST=fem
 LATEX2HTML=$(L2H) -split 4
+DOCTITLE='FEM Framework Manual'
 PROJECT_LINK='<a href="http://charm.cs.uiuc.edu/research/fem">FEM Homepage</a><br>'
 
 include ../Makefile.common
diff --git a/doc/fem/title.html b/doc/fem/title.html
deleted file mode 100644 (file)
index 436a39d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-FEM Framework Manual
index 9397de63abd6414d973ffd7e5d6164836bb3dd5a..0bd24ecfffee0c6c22d40b0dec3b933c5108f9e4 100644 (file)
@@ -3,6 +3,7 @@ FILE=manual
 TEX=$(FILE).tex index.tex
 DEST=ifem
 LATEX2HTML=$(L2H) -split 4
+DOCTITLE='Iterative FEM Library Manual'
 PROJECT_LINK='<a href="http://charm.cs.uiuc.edu/research/fem">FEM Homepage</a><br>'
 
 include ../Makefile.common
diff --git a/doc/ifem/title.html b/doc/ifem/title.html
deleted file mode 100644 (file)
index 0a2eb7a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Iterative FEM Library Manual
index 43be0cfa485904843bb7ebddbbaf6a13f30a1d0e..983dc780253907e2c62140c1044d80ec90488e51 100644 (file)
@@ -4,6 +4,7 @@ TEX=$(FILE).tex barrier.tex ddt.tex intro.tex irecv.tex liveviz.tex tempo.tex ff
 
 DEST=libraries
 LATEX2HTML=$(L2H) -split 5
+DOCTITLE='C<SMALL>ONVERSE</SMALL> and C<SMALL>HARM++</SMALL> Libraries Manual'
 
 include ../Makefile.common
 
diff --git a/doc/libraries/title.html b/doc/libraries/title.html
deleted file mode 100644 (file)
index 57a38e9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-C<SMALL>ONVERSE</SMALL> and C<SMALL>HARM++</SMALL> Libraries Manual
index 0edbeae455bef28bdea335528da8d0e259ae579a..b0e24aca4e88c179734f771ec578dff68ffa1a53 100644 (file)
@@ -3,6 +3,7 @@ FILE=manual
 TEX=$(FILE).tex
 DEST=mblock
 LATEX2HTML=$(L2H) -split 4
+DOCTITLE='Multiblock Framework Manual'
 PROJECT_LINK='<a href="http://charm.cs.uiuc.edu/research/mblock">MBlock Homepage</a><br>'
 
 include ../Makefile.common
diff --git a/doc/mblock/title.html b/doc/mblock/title.html
deleted file mode 100644 (file)
index e33de41..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Multiblock Framework Manual
index 802663c1dfdd093f1b79eb2d5556ba127bcb2165..4657fcade62a6b12d0bd66d32b6c672cb46740e0 100644 (file)
@@ -3,6 +3,7 @@ FILE=manual
 TEX=$(FILE).tex
 DEST=netfem
 LATEX2HTML=$(L2H) -split 3
+DOCTITLE='NetFEM Manual'
 PROJECT_LINK='<a href="http://charm.cs.uiuc.edu/research/fem">FEM Homepage</a><br>'
 
 include ../Makefile.common
diff --git a/doc/netfem/title.html b/doc/netfem/title.html
deleted file mode 100644 (file)
index 6e39542..0000000
+++ /dev/null
@@ -1 +0,0 @@
-NetFEM Manual
index 5214126a7a02a43c39f696f73582172674179f10..aaf1420b3a5c9205a3e6834cf82d9ab92d268a4c 100644 (file)
@@ -3,6 +3,7 @@ FILE=manual
 TEX=$(FILE).tex comm.tex mesh.tex
 DEST=parfum
 LATEX2HTML=$(L2H) -split 4
+DOCTITLE='ParFUM Manual'
 PROJECT_LINK='<a href="http://charm.cs.uiuc.edu/research/ParFUM">ParFUM Homepage</a><br>'
 
 include ../Makefile.common
diff --git a/doc/parfum/title.html b/doc/parfum/title.html
deleted file mode 100644 (file)
index 907f2b2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-ParFUM Manual
index f7d116375926c9bf1643a626759c7443d082e0b6..05320221bd99f10dcca11843acb313290eb22da0 100644 (file)
@@ -3,6 +3,7 @@ FILE=manual
 TEX=$(FILE).tex 
 DEST=pose
 LATEX2HTML=$(L2H) -split 5
+DOCTITLE='POSE Reference Manual'
 PROJECT_LINK='<a href="http://charm.cs.uiuc.edu/research/pose">POSE Homepage</a><br>'
 
 include ../Makefile.common
diff --git a/doc/pose/title.html b/doc/pose/title.html
deleted file mode 100644 (file)
index 198bf50..0000000
+++ /dev/null
@@ -1 +0,0 @@
-POSE Reference Manual
index dbda63353ff61a6e2f4782ee0ffd987465c25ae1..19dca7315d7d490d829994ce2ecc39f16bd9619c 100644 (file)
@@ -4,6 +4,7 @@ TEX=$(FILE).tex tracing.tex
 
 DEST=projections
 LATEX2HTML=$(L2H) -split 5
+DOCTITLE='P<SMALL>ROJECTIONS</SMALL> Manual'
 
 include ../Makefile.common
 
diff --git a/doc/projections/title.html b/doc/projections/title.html
deleted file mode 100644 (file)
index 3e46477..0000000
+++ /dev/null
@@ -1 +0,0 @@
-P<SMALL>ROJECTIONS</SMALL> Manual
index f03cbf2e8599d9badacad29287c8d32867b9b719..619430ac5b8bae389b69586342706ec3f26a9243 100644 (file)
@@ -4,6 +4,7 @@ TEX=$(FILE).tex
 
 DEST=tcharm
 LATEX2HTML=$(L2H) -split 5
+DOCTITLE='Threaded C<SMALL>HARM++</SMALL> Manual'
 
 include ../Makefile.common
 
diff --git a/doc/tcharm/title.html b/doc/tcharm/title.html
deleted file mode 100644 (file)
index 0db4f10..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Threaded C<SMALL>HARM++</SMALL> Manual