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

@XML_I18N_MERGE_DESKTOP_RULE@
@XML_I18N_MERGE_DIRECTORY_RULE@

DESKTOP_IN_FILES=	favorites.desktop.in		\
			programs.desktop.in		\
			starthere.desktop.in		\
			sysconfig.desktop.in		\
			preferences.desktop.in		\
			serverconfig.desktop.in		\
			starthere-link.desktop.in	\
			$(NULL)

DIRECTORY_IN_FILES=	serverconfig.directory.in	\
			starthere.directory.in		\
			sysconfig.directory.in		\
			$(NULL)

DESKTOP_FILES=$(DESKTOP_IN_FILES:.desktop.in=.desktop)
DIRECTORY_FILES=$(DIRECTORY_IN_FILES:.directory.in=.directory)

startheredir= $(sysconfdir)/X11/starthere
starthere_DATA= 	favorites.desktop	\
			programs.desktop	\
			sysconfig.desktop	\
			preferences.desktop	\
			serverconfig.desktop	\
			$(NULL)

DESKTOP_FILES=$(DESKTOP_IN_FILES:.in=)

nautilusdatadir = $(datadir)/nautilus

nautilusdata_DATA = \
	browser.xml 			\
	static_bookmarks.xml 		\
	nautilus-extras.placeholder 	\
	nautilus-suggested.placeholder 	\
	starthere.desktop		\
	starthere-link.desktop		\
	$(NULL)

EXTRA_DIST = $(nautilusdata_DATA) \
	$(DESKTOP_IN_FILES)			\
	$(DESKTOP_FILES)			\
	$(DIRECTORY_IN_FILES)			\
	$(DIRECTORY_FILES)			\
	$(NULL)

SUBDIRS = \
	emblems \
	linksets \
	patterns \
	$(NULL)

install-data-local: $(DIRECTORY_FILES)
	$(mkinstalldirs) $(sysconfdir)/X11/starthere
	$(mkinstalldirs) $(sysconfdir)/X11/sysconfig
	$(mkinstalldirs) $(sysconfdir)/X11/serverconfig
	$(INSTALL_DATA) starthere.directory $(sysconfdir)/X11/starthere/.directory
	$(INSTALL_DATA) sysconfig.directory $(sysconfdir)/X11/sysconfig/.directory
	$(INSTALL_DATA) serverconfig.directory $(sysconfdir)/X11/serverconfig/.directory