Codebase list grilo / debian/0.1.18-1 Makefile.am
debian/0.1.18-1

Tree @debian/0.1.18-1 (Download .tar.gz)

Makefile.am @debian/0.1.18-1raw · history · blame

#
# Makefile.am
#
# Author: Iago Toral Quiroga <itoral@igalia.com>
#
# Copyright (C) 2010 Igalia S.L. All rights reserved.

ACLOCAL_AMFLAGS = -I m4

SUBDIRS = src libs bindings tools examples

if ENABLE_TESTS
SUBDIRS += tests
endif

if ENABLE_GTK_DOC
SUBDIRS += doc
endif

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = grilo-0.1.pc

if BUILD_GRILO_NET
pkgconfig_DATA += grilo-net-0.1.pc
endif

MAINTAINERCLEANFILES = \
        aclocal.m4 \
        compile \
	config.guess \
        config.sub \
        configure \
	depcomp \
	install-sh \
	ltmain.sh \
	missing \
	libtool \
	stamp-h1 \
	Makefile.in \
	*.make \
	mkinstalldirs \
	*~

DISTCLEANFILES = $(MAINTAINERCLEANFILES)

EXTRA_DIST = ./m4/introspection.m4 ./m4/silent.m4

DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc

distclean-local:
	-rm -rf autom4te.cache

dist-hook:
	@if test -d "$(srcdir)/.git"; \
	then \
		echo Creating ChangeLog && \
		( cd "$(top_srcdir)" && \
		  $(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \
		&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
		|| ( rm -f ChangeLog.tmp ; \
		     echo Failed to generate ChangeLog >&2 ); \
	else \
		echo A git clone is required to generate a ChangeLog >&2; \
	fi