summaryrefslogtreecommitdiff
path: root/desktop-directories/Makefile.am
blob: 9215094d31e47259abe61d64ae77fed6f9e73d4a (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
directorydir = $(datadir)/mate/desktop-directories

# Should be moved to mate-control-center:
directory_in_controlcenterfiles = \
	mate-hardware.directory.in \
	mate-internet-and-network.directory.in \
	mate-look-and-feel.directory.in \
	mate-personal.directory.in \
	mate-system.directory.in

directory_in_files = \
	mate-audio-video.directory.in \
	mate-development.directory.in \
	mate-education.directory.in \
	mate-game.directory.in \
	mate-graphics.directory.in \
	mate-network.directory.in \
	mate-office.directory.in \
	mate-settings.directory.in \
	mate-settings-system.directory.in \
	mate-system-tools.directory.in \
	mate-utility.directory.in \
	mate-utility-accessibility.directory.in \
	mate-other.directory.in \
	mate-menu-applications.directory.in \
	mate-menu-system.directory.in \
	mate-collection.directory.in \
	$(directory_in_controlcenterfiles)

directory_DATA = $(directory_in_files:.directory.in=.directory)

%.directory: %.directory.in
if USE_NLS
	$(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
else
	$(AM_V_GEN) cp $< $@
endif

EXTRA_DIST= $(directory_in_files)

CLEANFILES = $(directory_DATA)

-include $(top_srcdir)/git.mk