Makefile.am 1.4 KB
Newer Older
Philippe Rouquier's avatar
Philippe Rouquier committed
1
## Process this file with automake to produce Makefile.in.
2
SUBDIRS = libbrasero-utils libbrasero-media libbrasero-burn plugins src po data docs help
Philippe Rouquier's avatar
Philippe Rouquier committed
3

4 5 6 7
if BUILD_NAUTILUS
SUBDIRS += nautilus
endif

8 9 10
# Automake 1.12 should make this unnecessary.
ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}

Philippe Rouquier's avatar
Philippe Rouquier committed
11 12 13 14 15 16 17
braserodocdir = ${prefix}/docs/brasero

EXTRA_DIST = 			\
	AUTHORS			\
	MAINTAINERS		\
	NEWS			\
	README			\
18 19 20
	intltool-extract.in	\
	intltool-merge.in	\
	intltool-update.in	\
21
	gnome-doc-utils.make
Philippe Rouquier's avatar
Philippe Rouquier committed
22 23 24

noinst_PROGRAMS =

25
DISTCHECK_CONFIGURE_FLAGS =		\
26
	--disable-scrollkeeper		\
27
	--enable-gtk-doc			\
28 29 30
	--with-nautilusdir='$${libdir}/nautilus/extensions-2.0-distcheck'	\
	--with-girdir='$${datadir}/girdir-distcheck/'						\
	--with-typelibdir='$${libdir}/typelibdir-distcheck'
31

Philippe Rouquier's avatar
Philippe Rouquier committed
32 33 34
DISTCLEANFILES = \
	intltool-extract \
	intltool-merge \
35
	intltool-update	\
36 37
	libbrasero-media3.pc	\
	libbrasero-burn3.pc
Philippe Rouquier's avatar
Philippe Rouquier committed
38

39
pkgconfigdir = $(libdir)/pkgconfig
40
pkgconfig_DATA = libbrasero-media3.pc libbrasero-burn3.pc
41

Philippe Rouquier's avatar
Philippe Rouquier committed
42
dist-hook:
43 44 45 46 47 48 49 50 51 52 53 54
	@if test -d "$(srcdir)/.git"; \
	then \
		echo Creating ChangeLog && \
		( cd "$(top_srcdir)" && \
		  echo '# Generated by Makefile. Do not edit.'; echo; \
		  $(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
55 56

-include $(top_srcdir)/git.mk