aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2004-06-09 03:08:13 +0000
committerGerald Combs <gerald@wireshark.org>2004-06-09 03:08:13 +0000
commit058b3c5582ccbcdbe9a8dcd4434e8e2496440c68 (patch)
treee5be073fe0d34c6a1cbf22aec218d281519c880c /gtk
parent6aba0658ee441a4edcf0b40bf383b2d01e37cb21 (diff)
Add Automake/Autoconf Doxygen targets.
svn path=/trunk/; revision=11128
Diffstat (limited to 'gtk')
-rw-r--r--gtk/Makefile.am17
1 files changed, 16 insertions, 1 deletions
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 639e3591ca..9f6c71bdb4 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -1,7 +1,7 @@
# Makefile.am
# Automake file for the GTK interface routines for Ethereal
#
-# $Id: Makefile.am,v 1.100 2004/06/03 21:46:27 guy Exp $
+# $Id: Makefile.am,v 1.101 2004/06/09 03:08:13 gerald Exp $
#
# Ethereal - Network traffic analyzer
# By Gerald Combs <gerald@ethereal.com>
@@ -102,6 +102,8 @@ libui_a_SOURCES = \
$(ETHEREAL_TAP_SRC)
endif
+libui_a_DEPENDENCIES = doxygen
+
EXTRA_DIST = \
doxygen.cfg \
Makefile.common \
@@ -111,3 +113,16 @@ EXTRA_DIST = \
# Common headers
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap
+
+# Doxygen
+doxygen.tmp: ../config.nmake doxygen.cfg
+ sed -e s/@VERSION@/$(VERSION)/ \
+ < doxygen.cfg > $@
+
+doxygen-run:
+if HAVE_DOXYGEN
+ $(DOXYGEN) doxygen.tmp
+endif # HAVE_DOXYGEN
+
+doxygen: doxygen.tmp doxygen-run
+