1# This file is part of MATE Utils.
2#
3# MATE Utils is free software: you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation, either version 2 of the License, or
6# (at your option) any later version.
7#
8# MATE Utils is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with MATE Utils.  If not, see <https://www.gnu.org/licenses/>.
15
16distuninstallcheck:
17	@:
18
19distcleancheck_listfiles = find . -type f -print | grep -v 'omf\.out' | grep -v 'legal.xml'
20
21ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
22
23if USE_NLS
24PO_SUBDIR = po
25endif
26
27SUBDIRS = 			\
28	$(PO_SUBDIR)		\
29	baobab			\
30	mate-dictionary		\
31	mate-screenshot		\
32	gsearchtool		\
33	logview			\
34	$(NULL)
35
36if BUILD_DISK_IMAGE_MOUNTER
37SUBDIRS += 			\
38	mate-disk-image-mounter
39endif
40
41EXTRA_DIST = \
42	autogen.sh \
43	omf.make \
44	xmldocs.make \
45	COPYING.libs \
46	COPYING.docs \
47	README.md
48
49DISTCLEANFILES =                \
50	gtk-doc.make
51
52DISTCHECK_CONFIGURE_FLAGS = \
53	--enable-gtk-doc \
54	--enable-compile-warnings=no \
55	CFLAGS='-Wno-deprecated-declarations'
56
57# Build ChangeLog from GIT  history
58ChangeLog:
59	$(AM_V_GEN) if test -d $(top_srcdir)/.git; then \
60		GIT_DIR="$(top_srcdir)/.git" git log --stat > $@; \
61	fi
62
63dist: ChangeLog
64
65.PHONY: ChangeLog
66
67-include $(top_srcdir)/git.mk
68