Remove useless m4/Makefile.am and add ChangeLog to distcleanfiles. make distckeck...
[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         ChangeLog.old           \
31         README                  \
32         CONTRIBUTORS            \
33         $(INTLTOOL)
34
35 DISTCLEANFILES =                \
36         ChangeLog               \
37         intltool-extract        \
38         intltool-merge          \
39         intltool-update
40
41 # Workaround broken scrollkeeper that doesn't remove its files on
42 # uninstall.
43 distuninstallcheck_listfiles = find . -type f -print | grep -v '^\./var/scrollkeeper'
44
45 ChangeLog: Makefile.am
46         git-log --pretty=short > ChangeLog
47         
48
49 dist: ChangeLog
50
51 .PHONY: ChangeLog
52