]> git.0d.be Git - empathy.git/blob - Makefile.am
Prepare for release
[empathy.git] / Makefile.am
1 SUBDIRS = po data libempathy libempathy-gtk src docs
2
3 if HAVE_MEGAPHONE
4 SUBDIRS += megaphone
5 endif
6
7 if HAVE_NOTHERE
8 SUBDIRS += nothere
9 endif
10
11 if HAVE_PYTHON
12 SUBDIRS += python
13 endif
14
15 if HAVE_TESTS
16 SUBDIRS += tests
17 endif
18
19 DISTCHECK_CONFIGURE_FLAGS =     \
20         --disable-scrollkeeper  \
21         --enable-gtk-doc
22
23 INTLTOOL =                      \
24         intltool-extract.in     \
25         intltool-merge.in       \
26         intltool-update.in
27
28 EXTRA_DIST =                    \
29         ChangeLog               \
30         README                  \
31         CONTRIBUTORS            \
32         $(INTLTOOL)
33
34 DISTCLEANFILES =                \
35         intltool-extract        \
36         intltool-merge          \
37         intltool-update
38
39 # Workaround broken scrollkeeper that doesn't remove its files on
40 # uninstall.
41 distuninstallcheck_listfiles = find . -type f -print | grep -v '^\./var/scrollkeeper'
42
43 # Build ChangeLog from SVN history (r470 was the first ChangeLog-less checkin).
44 # Only build this when in an svn checkout.
45
46 ChangeLog: ChangeLog.old
47         @if test -f $(top_srcdir)/.svn/entries; then \
48                 svn log -v --xml -r HEAD:470 $(SVN_ROOT)/$(SVN_MODULE) | \
49                         xsltproc --stringparam strip-prefix "$(SVN_MODULE)/$(SVN_BRANCH)" \
50                                  --stringparam include-rev "yes" $(top_srcdir)/svn2cl.xsl - > $@; \
51         fi
52         @cat $(top_srcdir)/ChangeLog.old >> $@
53
54 dist: ChangeLog
55
56 .PHONY: ChangeLog
57