summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 99360513f9568bef160e6977c174e590b8c17a09 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
NULL =

SUBDIRS = po data man mate-volume-control

DISTCHECK_CONFIGURE_FLAGS = \
	--enable-compile-warnings=no \
	CFLAGS='-Wno-deprecated-declarations'

DIST_SUBDIRS =					\
	data					\
	po 					\
	man					\
	mate-volume-control			\
	$(NULL)

EXTRA_DIST =					\
	.version				\
	autogen.sh				\
	configure				\
	ChangeLog				\
	COPYING					\
	COPYING-DOCS				\
	build-aux/git-version-gen 		\
	its					\
	$(NULL)

DISTCLEANFILES =				\
	mate-volume-control/org.mate.applets.GvcApplet.mate-panel-applet \
	mate-volume-control/org.mate.panel.applet.GvcAppletFactory.service \
	mate-volume-control/org.mate.applets.GvcApplet.mate-panel-applet.in \
	$(NULL)

ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}

# see build-aux/git-version-get for details
BUILT_SOURCES = $(top_srcdir)/.version
$(top_srcdir)/.version:
	echo $(VERSION) > $@-t && mv $@-t $@

# Build ChangeLog from GIT  history
ChangeLog:
	$(AM_V_GEN) if test -d $(top_srcdir)/.git; then \
		GIT_DIR="$(top_srcdir)/.git" git log --stat > $@; \
	fi

dist: ChangeLog

.PHONY: ChangeLog

-include $(top_srcdir)/git.mk