## Process this file with automake to create Makefile.in
#
# Copyright (c) 2000, 2001, 2002 Tama Communications Corporation
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
SUBDIRS = libglibc libutil libparser libltdl plugin-factory
if !USE_DB185_COMPAT
        SUBDIRS += libdb
endif
SUBDIRS += global gozilla gtags htags htags-refkit htags-server globash \
	doc script
if USE_GTAGSCSCOPE
        SUBDIRS += gtags-cscope
endif

gtagsdir = ${datadir}/gtags
gtags_DATA = AUTHORS COPYING COPYING.LIB ChangeLog FAQ INSTALL LICENSE NEWS README THANKS \
	DONORS BUILD_TOOLS README.PATCHES \
        gtags.conf gtags.el gtags.pl gtags.vim gtags-cscope.vim \
	elvis.rc elvis-2.2_0.patch geco.rc \
	vim74-gtags-cscope.patch

EXTRA_DIST = ${gtags_DATA} reconf.sh convert.pl mainpage.dox head.in

doxygen:
	GTAGSCONF=':htags_options=--insert-header=head.in --suggest:' doxygen

# If you would like to install gtags.el to the lisp directory then uncomment
# the following line.
# dist_lisp_LISP = gtags.el
