aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docbook/wsug_src/WSUG_app_tools.xml28
1 files changed, 22 insertions, 6 deletions
diff --git a/docbook/wsug_src/WSUG_app_tools.xml b/docbook/wsug_src/WSUG_app_tools.xml
index 3d438d4343..b9966b9600 100644
--- a/docbook/wsug_src/WSUG_app_tools.xml
+++ b/docbook/wsug_src/WSUG_app_tools.xml
@@ -997,14 +997,30 @@ where <input-filename> specifies input filename (use - for standard input)
</listitem>
<listitem>
<para>
- Copy the resulting C code to your Wireshark src directory,
- edit the two make files to include the packet-test-idl.c
+ Copy the resulting C code to subdirectory epan/dissectors/ inside your
+ Wireshark source directory.
+ <programlisting>cp packet-test-idl.c /dir/where/wireshark/lives/epan/dissectors/</programlisting>
+ The new dissector has to be added to Makefile.common in the same
+ directory. Look for the declaration CLEAN_DISSECTOR_SRC and add
+ the new dissector there. For example,
<programlisting>
-cp packet-test-idl.c /dir/where/wireshark/lives/
-edit Makefile.am
-edit Makefile.nmake
- </programlisting>
+CLEAN_DISSECTOR_SRC = \
+ packet-2dparityfec.c \
+ packet-3com-njack.c \
+ ...
+ </programlisting>
+ becomes
+ <programlisting>
+CLEAN_DISSECTOR_SRC = \
+ packet-test-idl.c \
+ packet-2dparityfec.c \
+ packet-3com-njack.c \
+ ...
+ </programlisting>
</para>
+ <para>
+ For the next steps, go up to the top of your Wireshark source directory.
+ </para>
</listitem>
<listitem>
<para>Run configure