1include $(top_srcdir)/Makefile.decl
2
3ACLOCAL_AMFLAGS = -I m4
4
5DISTCHECK_CONFIGURE_FLAGS = --enable-introspection --enable-gtk-doc
6
7SUBDIRS = itex2mml src tests po docs
8
9lasemdocdir = ${prefix}/doc/lasem-@LASEM_API_VERSION@
10lasemdoc_DATA = 	\
11	README		\
12	COPYING		\
13	ChangeLog 	\
14	AUTHORS		\
15	INSTALL		\
16	NEWS
17
18EXTRA_DIST = $(lasemdoc_DATA) m4/introspection.m4
19
20# Copy all the spec files. Of cource, only one is actually used.
21dist-hook:
22	for specfile in *.spec; do \
23		if test -f $$specfile; then \
24			cp -p $$specfile $(distdir); \
25		fi \
26	done
27
28pkgconfigdir = $(libdir)/pkgconfig
29pkgconfig_DATA = lasem-@LASEM_API_VERSION@.pc
30
31CLEANFILES = $(pkgconfig_DATA)
32
33%-@LASEM_API_VERSION@.pc: %.pc
34	cp $< $@
35