initial commit
[gconf-editor] / Makefile.am
1 SUBDIRS = data src po docs
2
3 ACLOCAL_AMFLAGS = -I m4
4
5 EXTRA_DIST = \
6         autogen.sh \
7         ChangeLog.pre-git \
8         MAINTAINERS \
9         gnome-doc-utils.make
10
11 # ignore scrollkeeper files, which will legitimately exist after uninstall.
12 distuninstallcheck_listfiles = find . -type f -print | grep -v scrollkeeper
13
14 DISTCLEANFILES = \
15   gnome-doc-utils.make
16
17 DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper
18
19 distclean-local:
20         if test "$(srcdir)" = "."; then :; else \
21                 rm -f ChangeLog; \
22         fi
23
24 ChangeLog:
25         @echo Creating $@
26         @if test -d "$(srcdir)/.git"; then \
27           (GIT_DIR=$(top_srcdir)/.git ./missing --run git log GCONF_EDITOR_2_26_0.. --stat -M -C --name-status  --date=short --no-color) | fmt --split-only > $@.tmp \
28           && mv -f $@.tmp $@ \
29           || ($(RM) $@.tmp; \
30               echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
31               (test -f $@ || echo git-log is required to generate this file >> $@)); \
32         else \
33           test -f $@ || \
34           (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
35            echo A git checkout and git-log is required to generate this file >> $@); \
36         fi
37
38 .PHONY: ChangeLog