summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 9391392c1d3803ea6f64cd1002db64a0beefe582 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
DEF_SUBDIRS = icons lib applet properties wizard sendto docs po help

if WITH_MOBLIN
MOBLIN_DIR = moblin
endif

SUBDIRS = icons lib applet properties wizard sendto $(MOBLIN_DIR) docs po help

DIST_SUBDIRS = $(DEF_SUBDIRS) moblin
EXTRA_DIST = intltool-extract.in intltool-update.in intltool-merge.in ChangeLog.pre-2.27 gtk-doc.make gnome-doc-utils.make

# FIXME https://bugzilla.gnome.org/show_bug.cgi?id=595675
DISTCHECK_CONFIGURE_FLAGS = --disable-schemas-install \
	--disable-desktop-update --disable-mime-update --disable-icon-update \
	--enable-gtk-doc --disable-scrollkeeper --enable-introspection=no

DISTCLEANFILES = intltool-extract intltool-update intltool-merge gnome-doc-utils.make

MAINTAINERCLEANFILES = Makefile.in \
	aclocal.m4 configure config.h.in config.sub config.guess \
	ltmain.sh depcomp missing install-sh mkinstalldirs \
	intltool-extract.in intltool-update.in intltool-merge.in \
	gnome-bluetooth-1.0.pc

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gnome-bluetooth-1.0.pc

install-data-hook:
if DESKTOP_UPDATE
	$(UPDATE_DESKTOP_DATABASE) $(DESTDIR)$(datadir)/applications
endif

uninstall-hook:
if DESKTOP_UPDATE
	$(UPDATE_DESKTOP_DATABASE) $(DESTDIR)$(datadir)/applications
endif

# Build ChangeLog from GIT history
ChangeLog:
	@if test -f $(top_srcdir)/.git/HEAD; then \
		git log --stat --after="Fri Feb 20 00:08:02 2009" > $@; \
	fi

dist: ChangeLog

.PHONY: ChangeLog