Makefile.am 1.25 KB
Newer Older
1
SUBDIRS = tools extensions po data libempathy libempathy-gtk src help tests
2

3 4 5 6
if HAVE_NST
SUBDIRS += nautilus-sendto-plugin
endif

7 8
ACLOCAL_AMFLAGS = -I m4

9 10
DISTCHECK_CONFIGURE_FLAGS =		\
	--disable-scrollkeeper		\
11
	--disable-schemas-install
12 13 14

EXTRA_DIST = 			\
        ChangeLog               \
15
        ChangeLog.old           \
16 17
        README                  \
	CONTRIBUTORS		\
18
	autogen.sh
19 20

DISTCLEANFILES = 		\
21
        ChangeLog
22 23 24 25

# Workaround broken scrollkeeper that doesn't remove its files on
# uninstall.
distuninstallcheck_listfiles = find . -type f -print | grep -v '^\./var/scrollkeeper'
26

27
distclean-local:
28
	if test "x$(srdcir)" = "x."; then :; else \
29 30 31 32 33 34
		rm -f ChangeLog; \
	fi

ChangeLog:
	@echo Creating $@
	@if test -d "$(srcdir)/.git"; then \
35
	  (GIT_DIR=$(top_srcdir)/.git ./missing --run git log EMPATHY_2_27_1.. --stat) | fmt --split-only > $@.tmp \
36 37 38 39 40 41 42 43 44
	  && mv -f $@.tmp $@ \
	  || ($(RM) $@.tmp; \
	      echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
	      (test -f $@ || echo git-log is required to generate this file >> $@)); \
	else \
	  test -f $@ || \
	  (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
	  echo A git checkout and git-log is required to generate this file >> $@); \
	fi
45 46 47

.PHONY: ChangeLog