Makefile.am 1.38 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
	intltool-extract.in	\
	intltool-merge.in	\
20
	intltool-update.in
Philippe Rouquier's avatar
Philippe Rouquier committed
21 22 23

noinst_PROGRAMS =

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

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

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

Philippe Rouquier's avatar
Philippe Rouquier committed
41
dist-hook:
42 43 44 45 46 47 48 49 50 51 52 53
	@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
54 55

-include $(top_srcdir)/git.mk