aboutsummaryrefslogtreecommitdiffstats
path: root/docbook
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-10-30 12:54:53 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-10-30 12:54:53 +0000
commit5d53c6e5a9e670b52f5b37abe97fb4a742180c32 (patch)
tree2ed092b042554f3e73736b9498cf6dd1c6197766 /docbook
parentc56b2f0838ba270ec27f8b527b2772671fef4fb3 (diff)
add a simplified overview section about the Ethereal function blocks.
Some cleanup in the docbook Makefile svn path=/trunk/; revision=12447
Diffstat (limited to 'docbook')
-rw-r--r--docbook/Makefile54
-rw-r--r--docbook/developer-guide.xml1
-rw-r--r--docbook/edg_src/EDG_chapter_works.xml16
3 files changed, 43 insertions, 28 deletions
diff --git a/docbook/Makefile b/docbook/Makefile
index 36532b2000..6551443732 100644
--- a/docbook/Makefile
+++ b/docbook/Makefile
@@ -35,8 +35,6 @@ XMLLINT="xmllint"
# as eug_chm will stop with an error, make sure it's the last in this dependency list
all: eug edg
-eug: eug_validate eug_pdf_a4 eug_html eug_html_chunked eug_chm
-
clean:
rm -f *.html
rm -f htmlhelp.*
@@ -53,7 +51,9 @@ clean:
rm -rf edg_chm
-images:
+eug: eug_validate eug_pdf_a4 eug_html eug_html_chunked eug_chm
+
+eug_images:
cp $(DOCBOOKXSL)/images/note.png ./graphics
cp $(DOCBOOKXSL)/images/tip.png ./graphics
cp $(DOCBOOKXSL)/images/warning.png ./graphics
@@ -64,7 +64,7 @@ eug_validate:
$(XMLLINT) --valid --noout user-guide.xml
# create html single page file
-eug_html: images
+eug_html: eug_images
@ echo --- HTML SINGLE PAGE ---
mkdir -p eug_html
mkdir -p eug_html/graphics
@@ -74,7 +74,7 @@ eug_html: images
$(XSLTPROC) --nonet $(DOCBOOKXSL)/html/docbook.xsl user-guide.xml > eug_html/user-guide.html
# create html chunked page files
-eug_html_chunked: images
+eug_html_chunked: eug_images
@ echo --- HTML CHUNKED ---
mkdir -p eug_html_chunked
mkdir -p eug_html_chunked/graphics
@@ -85,7 +85,7 @@ eug_html_chunked: images
# create pdf file (through XSL-FO), portrait pages on US letter paper (the default)
# you will get lot's of errors, but that's ok
-eug_pdf_us: images
+eug_pdf_us: eug_images
ifdef FOP
@ echo --- PDF US PAPER ---
$(XSLTPROC) --nonet custom_layer_pdf.xsl $(DOCBOOKXSL)/fo/docbook.xsl user-guide.xml > user-guide.fo
@@ -94,7 +94,7 @@ endif
# create pdf file (through XSL-FO), portrait pages on A4 paper
# you will get lot's of errors, but that's ok
-eug_pdf_a4: images
+eug_pdf_a4: eug_images
ifdef FOP
@ echo --- PDF A4 PAPER ---
$(XSLTPROC) --stringparam paper.type A4 --nonet custom_layer_pdf.xsl user-guide.xml > user-guide.fo
@@ -102,7 +102,7 @@ ifdef FOP
endif
# create MS html help file (through html chunked pages)
-eug_chm: images
+eug_chm: eug_images
ifdef HHC
@ echo --- MICROSOFT HTML HELP ---
mkdir -p eug_chm
@@ -120,34 +120,36 @@ endif
edg: edg_validate edg_html_chunked edg_pdf_a4 edg_html edg_chm
+edg_images:
+ cp $(DOCBOOKXSL)/images/note.png ./edg_graphics
+ cp $(DOCBOOKXSL)/images/tip.png ./edg_graphics
+ cp $(DOCBOOKXSL)/images/warning.png ./edg_graphics
+
+
# validate the content
edg_validate:
@ echo --- VALIDATING XML ---
$(XMLLINT) --valid --noout developer-guide.xml
# create html single page file
-edg_html: images
+edg_html: edg_images
@ echo --- HTML SINGLE PAGE ---
mkdir -p edg_html
- mkdir -p edg_html/graphics
- mkdir -p edg_html/graphics/toolbar
- cp ./graphics/*.* edg_html/graphics
- cp ./graphics/toolbar/*.* edg_html/graphics/toolbar
+ mkdir -p edg_html/edg_graphics
+ cp ./edg_graphics/*.* edg_html/edg_graphics
$(XSLTPROC) --nonet $(DOCBOOKXSL)/html/docbook.xsl developer-guide.xml > edg_html/developer-guide.html
# create html chunked page files
-edg_html_chunked: images
+edg_html_chunked: edg_images
@ echo --- HTML CHUNKED ---
mkdir -p edg_html_chunked
- mkdir -p edg_html_chunked/graphics
- mkdir -p edg_html_chunked/graphics/toolbar
- cp ./graphics/*.* edg_html_chunked/graphics
- cp ./graphics/toolbar/*.* edg_html_chunked/graphics/toolbar
- $(XSLTPROC) --stringparam base.dir edg_html_chunked/ --stringparam use.id.as.filename 1 --stringparam admon.graphics 1 --stringparam admon.graphics.path graphics/ --stringparam section.autolabel 1 --stringparam section.label.includes.component.label 1 --nonet $(DOCBOOKXSL)/html/chunk.xsl developer-guide.xml
+ mkdir -p edg_html_chunked/edg_graphics
+ cp ./edg_graphics/*.* edg_html_chunked/edg_graphics
+ $(XSLTPROC) --stringparam base.dir edg_html_chunked/ --stringparam use.id.as.filename 1 --stringparam admon.graphics 1 --stringparam admon.graphics.path edg_graphics/ --stringparam section.autolabel 1 --stringparam section.label.includes.component.label 1 --nonet $(DOCBOOKXSL)/html/chunk.xsl developer-guide.xml
# create pdf file (through XSL-FO), portrait pages on US letter paper (the default)
# you will get lot's of errors, but that's ok
-edg_pdf_us: images
+edg_pdf_us: edg_images
ifdef FOP
@ echo --- PDF US PAPER ---
$(XSLTPROC) --nonet custom_layer_pdf.xsl $(DOCBOOKXSL)/fo/docbook.xsl developer-guide.xml > developer-guide.fo
@@ -156,7 +158,7 @@ endif
# create pdf file (through XSL-FO), portrait pages on A4 paper
# you will get lot's of errors, but that's ok
-edg_pdf_a4: images
+edg_pdf_a4: edg_images
ifdef FOP
@ echo --- PDF A4 PAPER ---
$(XSLTPROC) --stringparam paper.type A4 --nonet custom_layer_pdf.xsl developer-guide.xml > developer-guide.fo
@@ -164,15 +166,13 @@ ifdef FOP
endif
# create MS html help file (through html chunked pages)
-edg_chm: images
+edg_chm: edg_images
ifdef HHC
@ echo --- MICROSOFT HTML HELP ---
mkdir -p edg_chm
- mkdir -p edg_chm/graphics
- mkdir -p edg_chm/graphics/toolbar
- cp ./graphics/*.* edg_chm/graphics
- cp ./graphics/toolbar/*.* edg_chm/graphics/toolbar
- $(XSLTPROC) --stringparam base.dir edg_chm/ --stringparam use.id.as.filename 1 --stringparam admon.graphics 1 --stringparam admon.graphics.path graphics/ --stringparam section.autolabel 1 --stringparam section.label.includes.component.label 1 --nonet $(DOCBOOKXSL)/htmlhelp/htmlhelp.xsl developer-guide.xml
+ mkdir -p edg_chm/edg_graphics
+ cp ./edg_graphics/*.* edg_chm/edg_graphics
+ $(XSLTPROC) --stringparam base.dir edg_chm/ --stringparam use.id.as.filename 1 --stringparam admon.graphics 1 --stringparam admon.graphics.path edg_graphics/ --stringparam section.autolabel 1 --stringparam section.label.includes.component.label 1 --nonet $(DOCBOOKXSL)/htmlhelp/htmlhelp.xsl developer-guide.xml
-$(HHC) htmlhelp.hhp
mv htmlhelp.chm developer-guide.chm
rm -r htmlhelp.hhp
diff --git a/docbook/developer-guide.xml b/docbook/developer-guide.xml
index 845db9fccb..dff9013351 100644
--- a/docbook/developer-guide.xml
+++ b/docbook/developer-guide.xml
@@ -61,6 +61,7 @@ FILE SECTION
<!-- These refer to graphics files and figures contained in the document -->
<!ENTITY EtherealLogo SYSTEM "./graphics/ethereal-logo.png" NDATA PNG>
+ <!ENTITY EtherealFunctionBlocks SYSTEM "./edg_graphics/ethereal-function-blocks.png" NDATA PNG>
<!-- These are the actual files that make up the document -->
diff --git a/docbook/edg_src/EDG_chapter_works.xml b/docbook/edg_src/EDG_chapter_works.xml
index 3dac16c7c7..45faeb5fd9 100644
--- a/docbook/edg_src/EDG_chapter_works.xml
+++ b/docbook/edg_src/EDG_chapter_works.xml
@@ -9,6 +9,21 @@
<para>
This chapter will give you a short overview, how Ethereal is working.
</para>
+ </section>
+
+ <section id="ChWorksOverview">
+ <title>Overview</title>
+ <para>
+ The following will give you a simplified overview of Ethereals function blocks:
+ <figure id="ChWorksFigOverview">
+ <title>
+ <application>Ethereal</application> function blocks.
+ </title>
+ <graphic entityref="EtherealFunctionBlocks" format="PNG"/>
+ </figure>
+ XXX - describe the blocks in detail
+ </para>
+ </section>
<section id="ChWorksCapturePackets">
<title>Capturing packets</title>
@@ -55,6 +70,5 @@
</para>
</section>
- </section>
</chapter>
<!-- End of EUG Chapter Works -->