summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 9feebc760549817aa806c7e56f721f65337ca8bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
ACLOCAL_AMFLAGS = -I m4

SUBDIRS = m4 tools spec telepathy-glib examples tests docs

DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --disable-debug

EXTRA_DIST = \
    autogen.sh \
    gtk-doc.make

CLEANFILES = FIXME.out

check-local::
	egrep -A 5 '[F]IXME|[T]ODO|[X]XX' $(srcdir)/telepathy-glib/*.[ch] \
		> FIXME.out || true

# Use git log --stat if it works, else plain git log
dist-hook:
	chmod u+w ${distdir}/ChangeLog
	if test -d ${top_srcdir}/.git; then \
		git log --stat > ${distdir}/ChangeLog || \
		git log > ${distdir}/ChangeLog; \
	fi

if OFFICIAL_RELEASE
maintainer-upload-release:
	test -f telepathy-glib-@VERSION@.tar.gz
	test -f telepathy-glib-@VERSION@.tar.gz.asc
	gpg --verify telepathy-glib-@VERSION@.tar.gz.asc
	rsync -rtvzPp --chmod=Dg+s,ug+rwX,o=rX docs/reference/html/ \
		telepathy.freedesktop.org:/srv/telepathy.freedesktop.org/www/doc/telepathy-glib
	rsync -vzP telepathy-glib-@VERSION@.tar.gz telepathy.freedesktop.org:/srv/telepathy.freedesktop.org/www/releases/telepathy-glib/
endif