aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 4a9d456ed1d24b6e53805cd9d51a925a895460fc (plain) (blame)
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
48
49
50
51
52
53
54
55
56
57
58
SUBDIRS = lib embed src plugins data po help doc

if WITH_XULRUNNER_ENGINE
SUBDIRS += xulapp
endif

ACLOCAL_AMFLAGS = -I m4

NULL =

EXTRA_DIST =            \
    autogen.sh      \
    intltool-merge.in   \
    intltool-update.in  \
    intltool-extract.in \
    gnome-doc-utils.make    \
    COPYING.README      \
    HACKING         \
    MAINTAINERS     \
    ChangeLog       \
    ChangeLog-20030925  \
    ChangeLog-20040912  \
    ChangeLog-20050828  \
    ChangeLog-20061106  \
    ChangeLog-20070912  \
    $(NULL)

DISTCLEANFILES =        \
    intltool-extract    \
    intltool-merge      \
    intltool-update     \
    gnome-doc-utils.make    \
    $(NULL)

DISTCHECK_CONFIGURE_FLAGS = \
    --enable-python         \
    --enable-zeroconf       \
    --enable-desktop-file-plugin    \
    --enable-certificate-manager    \
    --enable-gtk-doc        \
    --disable-schemas-install   \
    --disable-scrollkeeper      \
    --with-gecko=$(GECKO)

# Ignore gtk theme cache files on distcheck
distuninstallcheck_listfiles = find . -type f -print | grep -v 'icon-theme.cache'

# Build ChangeLog from SVN history (r7394 was the first ChangeLog-less checkin).
# Only build this when in an svn checkout.

ChangeLog:
    @if test -f $(top_srcdir)/.svn/entries; then \
        svn log -v --xml -r HEAD:7394 $(SVN_ROOT)/$(SVN_MODULE) | \
            xsltproc --stringparam strip-prefix "$(SVN_MODULE)/$(SVN_BRANCH)" \
                 --stringparam include-rev "yes" $(top_srcdir)/svn2cl.xsl - > $@; \
    fi

.PHONY: ChangeLog