summaryrefslogtreecommitdiff
path: root/data/Makefile.am
blob: 1e81381898a5c161b5b0f52b027dfd9c08bf2cd2 (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
NULL =

SUBDIRS =	\
	icons	\
	sounds	\
	$(NULL)

if ENABLE_STATUSICON
autostartdir = $(sysconfdir)/xdg/autostart
endif
autostart_in_files = mate-volume-control-status-icon.desktop.in
if ENABLE_STATUSICON
autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)
$(autostart_DATA): $(autostart_in_files)
	$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
endif

appsdir = $(datadir)/applications
apps_in_files = mate-volume-control.desktop.in
apps_DATA = $(apps_in_files:.desktop.in=.desktop)
$(apps_DATA): $(apps_in_files)
	$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@

EXTRA_DIST =					\
	$(autostart_in_files)			\
	mate-volume-control.desktop.in.in	\
	$(NULL)

CLEANFILES =					\
	mate-volume-control.desktop		\
	$(NULL)

DISTCLEANFILES =				\
	mate-volume-control-status-icon.desktop	\
	$(NULL)

-include $(top_srcdir)/git.mk