summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 43e1e1f78414c17ac62c167230f708a045122af8 (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
SUBDIRS = help libgd lib embed src data po doc

if ENABLE_TESTS
SUBDIRS += tests
endif

AM_DISTCHECK_CONFIGURE_FLAGS = \
	--enable-appdata-check	\
	--enable-debug

@CODE_COVERAGE_RULES@

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

# Build ChangeLog from git history
ChangeLog:
	@if test -f $(top_srcdir)/.git/HEAD; then \
		pushd $(top_srcdir); \
		git log --max-count=500 --no-decorate --stat > $(abs_top_builddir)/$@; \
		popd; \
	fi

dist: ChangeLog

.PHONY: ChangeLog

MAINTAINERCLEANFILES = \
        $(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
        $(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN) \
        $(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL)

-include $(top_srcdir)/git.mk