## Process this file with automake to create Makefile.in
#
# Copyright (c) 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.
#
bin_PROGRAMS= gozilla

AM_CPPFLAGS = @AM_CPPFLAGS@

LDADD = @LDADD@

gozilla_DEPENDENCIES = $(LDADD)

man_MANS = gozilla.1

EXTRA_DIST = $(man_MANS) const.h manual.in

# for osx-default
gtagsdir = $(DESTDIR)${localstatedir}/gtags
install-data-hook:
	if [ ! -d $(gtagsdir) ]; then \
		$(MKDIR_P) $(gtagsdir); \
		chmod 777 $(gtagsdir); \
	fi
