aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-10-21 21:47:08 +0000
committerGuy Harris <guy@alum.mit.edu>1999-10-21 21:47:08 +0000
commitd4964f49444e8dc86f29efe3fb026b0c62745a67 (patch)
tree57bd59d75eed2459bfd12d72802628ea5d34e957 /doc/Makefile.am
parent06b0aeedfe9cb58380ecdc06e449979bd8c934b6 (diff)
Have Ethereal check for a first command-line argument of "-G", rather
than a command name of "ethereal-dump-fields", to decide whether to run as normal Ethereal or to just dump out the list of fields that can be used in a display filter. This allows us to continue to make that check without doing the regular command line flag parsing (which we don't want to do, as we don't want to call "gtk_init()" before making that check, as "gtk_init()" tries to open an X display, and some people want not to have to have X running in order to build Ethereal, or want not to have Ethereal try to open an X connection over a slow line if it's just going to print field names to the standard output), without having to make a link to "../ethereal" from the "doc" directory (said link couldn't be a hard link, as ATK apparently disallows hard links between directories, and I have the vague impression that a symbolic link might cause other problems). svn path=/trunk/; revision=902
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am8
1 files changed, 2 insertions, 6 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 97393a5b32..7af0c54eff 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,7 +1,7 @@
# Makefile.am
# Automake file for Ethereal documentation
#
-# $Id: Makefile.am,v 1.2 1999/09/09 03:55:49 guy Exp $
+# $Id: Makefile.am,v 1.3 1999/10/21 21:47:08 guy Exp $
#
# Ethereal - Network traffic analyzer
# By Gerald Combs <gerald@zing.org>
@@ -29,8 +29,4 @@
> ../ethereal.1
ethereal.pod: ethereal.pod.template ../ethereal
- rm -f ethereal-dump-fields
- ln ../ethereal ethereal-dump-fields
- ./ethereal-dump-fields | ./dfilter2pod $(srcdir)/ethereal.pod.template > ethereal.pod
- rm -f ethereal-dump-fields
-
+ ../ethereal -G | ./dfilter2pod $(srcdir)/ethereal.pod.template > ethereal.pod