Enable automatic generation of .gitignore
[projects/chimara/chimara.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 ## Created by Anjuta
3
4 if TARGET_ILIAD
5 SUBDIRS = libchimara interpreters player po
6 else
7 SUBDIRS = libchimara interpreters player tests docs po
8 endif
9
10 chimaradocdir = $(datadir)/doc/chimara
11 dist_chimaradoc_DATA = \
12         README\
13         COPYING\
14         AUTHORS\
15         ChangeLog\
16         NEWS
17
18 pkgconfigdir = $(libdir)/pkgconfig
19 pkgconfig_DATA = chimara.pc chimara-plugin.pc
20
21 EXTRA_DIST = chimara.pc.in chimara-plugin.pc.in chimara.spec.in
22
23 DISTCLEANFILES = chimara.pc chimara-plugin.pc chimara.spec
24
25 MAINTAINERCLEANFILES = ABOUT-NLS INSTALL aclocal.m4 compile config.guess \
26         config.h.in config.rpath config.sub depcomp gtk-doc.make install-sh \
27         intltool-extract.in     intltool-merge.in intltool-update.in ltmain.sh missing \
28         ylwrap m4 autom4te.cache
29
30 ACLOCAL_AMFLAGS = -I m4
31
32 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
33
34 if BUILDING_RPM
35 EXTRA_DIST += chimara.spec
36 rpm: chimara.spec dist
37         $(ECHO) "Building RPM package..."; \
38         $(RPMBUILD) -ta --clean $(PACKAGE)-$(VERSION).tar.gz
39 else
40 rpm:
41         @$(ECHO) \
42         "To build an RPM package, you must run configure with --enable-rpm."; \
43         exit 1
44 endif
45
46 -include $(top_srcdir)/git.mk