if SUPPORT_GNUMERIC
GNUMERIC_COMPONENT = guppi-gnumeric
else
GNUMERIC_COMPONENT =
endif

SUBDIRS = 		\
	macros 		\
	pixmaps 	\
	sample-data 	\
	intl 		\
	po 		\
	src 		\
	plug-ins 	\
	libguppitank	\
	$(GNUMERIC_COMPONENT) \
	tests		\
	doc

#appdir = $(datadir)/gnome/apps/Applications
#app_DATA = guppi.desktop

confexecdir=$(libdir)
confexec_DATA = libguppiConf.sh
CLEANFILES = \
	libguppiConf.sh \
	xml-i18n-extract xml-i18n-merge xml-i18n-update

## --- This is cut & pasted out of gnome-print's Makefile.am ---
## We create libguppiConf.sh here and not from configure because we want
## to get the paths expanded correctly.  Macros like srcdir are given
## the value NONE in configure if the user doesn't specify them (this
## is an autoconf feature, not a bug).

libguppiConf.sh: libguppiConf.sh.in Makefile
## Use sed and then mv to avoid problems if the user interrupts.
	sed -e 's?\@LIBGUPPI_LIBDIR\@?$(LIBGUPPI_LIBDIR)?g' \
	-e 's?\@LIBGUPPI_INCLUDEDIR\@?$(LIBGUPPI_INCLUDEDIR)?g' \
	-e 's?\@VERSION\@?$(VERSION)?g' \
	-e 's?\@LIBGUPPI_LIBS\@?$(LIBGUPPI_LIBS)?g' \
	< $(srcdir)/libguppiConf.sh.in > libguppiConf.tmp \
	&& mv libguppiConf.tmp libguppiConf.sh


aclocaldir = $(datadir)/aclocal
aclocal_DATA = libguppi.m4


EXTRA_DIST = \
	ChangeLog README AUTHORS NEWS BIBLIOGRAPHY \
	libguppiConf.sh.in libguppi.m4 \
	xml-i18n-extract.in xml-i18n-merge.in xml-i18n-update.in \
	Guppi.spec.in Guppi.spec

# Guppi.spec and Guppi.spec.in are broken...


syntax highlighted by Code2HTML, v. 0.9.1