summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 86aa76350bf632abc868929e5dbd4bd9ffe89f8a (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110

gtop_applets = multiload

if BUILD_GTOP_APPLETS
gtop_SUBDIRS = $(gtop_applets)
endif

libmateweather_applets = \
	mateweather

if BUILD_LIBMATEWEATHER_APPLETS
libmateweather_SUBDIRS = $(libmateweather_applets)
endif

modemlights_applets = \
	modemlights

if APPLET_MODEMLIGHTS
modemlights_SUBDIRS = $(modemlights_applets)
endif

if BUILD_BATTSTAT_APPLET
battstat_SUBDIR = battstat
endif

if APPLET_ACCESSX
accessx_status_SUBDIR = accessx-status
endif

if BUILD_CPUFREQ_APPLET
cpufreq_SUBDIR = cpufreq
endif

if BUILD_INVEST_APPLET
invest_applet_SUBDIR = invest-applet
endif

if BUILD_TIMER_APPLET
timer_applet_SUBDIR = timer-applet
endif

always_built_SUBDIRS = \
	charpick \
	drivemount \
	geyes \
	stickynotes \
	trashapplet
#	null_applet

SUBDIRS = \
	po \
	$(always_built_SUBDIRS) \
	$(modemlights_SUBDIRS) \
	$(gtop_SUBDIRS) \
	$(libmateweather_SUBDIRS) \
	$(vfs_SUBDIRS) \
	$(battstat_SUBDIR) \
	$(accessx_status_SUBDIR) \
	$(invest_applet_SUBDIR) \
	$(cpufreq_SUBDIR) \
	$(timer_applet_SUBDIR)

DIST_SUBDIRS = \
	po \
	modemlights \
	drivemount \
	charpick \
	geyes \
	battstat \
	multiload \
	mateweather \
	man \
	accessx-status \
	stickynotes \
	trashapplet \
	cpufreq \
	invest-applet \
	timer-applet \
	null_applet

EXTRA_DIST = \
	m4/ac-define-dir.m4 \
	COPYING-DOCS \
	intltool-update.in \
	intltool-extract.in \
	intltool-merge.in \
	xmldocs.make \
	omf.make \
	mate-doc-utils.make

# We build the ChangeLog from the git log
ChangeLog:
	@if test -f $(top_srcdir)/.git/HEAD; then \
		git log --stat --no-color --since=2009-05-23 > $@; \
	fi

dist: ChangeLog

# Make sure the ChangeLog is updated every time
.PHONY: ChangeLog

ACLOCAL_AMFLAGS = -I m4

DISTCLEANFILES = intltool-extract \
	intltool-merge \
	intltool-update \
	mate-doc-utils.make

-include $(top_srcdir)/git.mk