Require intltool 0.40.0 and update intltool files
[rodin/chimara.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 ## Created by Anjuta
3
4 SUBDIRS = libchimara interpreters player tests docs po
5
6 chimaradocdir = $(datadir)/doc/chimara
7 dist_chimaradoc_DATA = \
8         README\
9         COPYING\
10         AUTHORS\
11         ChangeLog\
12         NEWS
13
14 pkgconfigdir = $(libdir)/pkgconfig
15 pkgconfig_DATA = chimara.pc chimara-plugin.pc
16
17 EXTRA_DIST = chimara.pc.in chimara-plugin.pc.in chimara.spec.in
18
19 DISTCLEANFILES = chimara.pc chimara-plugin.pc chimara.spec
20
21 ACLOCAL_AMFLAGS = -I m4
22
23 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
24
25 if BUILDING_RPM
26 EXTRA_DIST += chimara.spec
27 rpm: chimara.spec dist
28         $(ECHO) "Building RPM package..."; \
29         $(RPMBUILD) -ta --clean $(PACKAGE)-$(VERSION).tar.gz
30 else
31 rpm:
32         @$(ECHO) \
33         "To build an RPM package, you must run configure with --enable-rpm."; \
34         exit 1
35 endif