X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=Makefile.am;h=a163df8615b21d7b7febdb4276ca437707fa7070;hb=4ab49e6ed54603ca26040c43cf4628cd0186632f;hp=ac4be011f7d1daf9d58aede98d8b51618f51cdb9;hpb=69bcc9a14851bb6e68b2f79e3b92d00cab3a55d8;p=projects%2Fchimara%2Fchimara.git diff --git a/Makefile.am b/Makefile.am index ac4be01..a163df8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,26 +1,46 @@ ## Process this file with automake to produce Makefile.in ## Created by Anjuta -SUBDIRS = libchimara interpreters tests docs po +if TARGET_ILIAD +SUBDIRS = libchimara interpreters player po +else +SUBDIRS = libchimara interpreters player tests docs po +endif -chimaradocdir = ${prefix}/doc/chimara +chimaradocdir = $(datadir)/doc/chimara dist_chimaradoc_DATA = \ README\ COPYING\ AUTHORS\ ChangeLog\ - INSTALL\ NEWS pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = chimara.pc chimara-plugin.pc -EXTRA_DIST = intltool-extract.in intltool-merge.in intltool-update.in \ - chimara.pc.in chimara-plugin.pc.in +EXTRA_DIST = chimara.pc.in chimara-plugin.pc.in chimara.spec.in -DISTCLEANFILES = chimara.pc chimara-plugin.pc \ - intltool-extract intltool-merge intltool-update +DISTCLEANFILES = chimara.pc chimara-plugin.pc chimara.spec + +MAINTAINERCLEANFILES = ABOUT-NLS INSTALL aclocal.m4 compile config.guess \ + config.h.in config.rpath config.sub depcomp gtk-doc.make install-sh \ + intltool-extract.in intltool-merge.in intltool-update.in ltmain.sh missing \ + ylwrap m4 autom4te.cache ACLOCAL_AMFLAGS = -I m4 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc + +if BUILDING_RPM +EXTRA_DIST += chimara.spec +rpm: chimara.spec dist + $(ECHO) "Building RPM package..."; \ + $(RPMBUILD) -ta --clean $(PACKAGE)-$(VERSION).tar.gz +else +rpm: + @$(ECHO) \ + "To build an RPM package, you must run configure with --enable-rpm."; \ + exit 1 +endif + +-include $(top_srcdir)/git.mk