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

@INTLTOOL_DESKTOP_RULE@
@INTLTOOL_DIRECTORY_RULE@

DESKTOP_IN_FILES=	favorites.desktop.in		\
			applications.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	\
			applications.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 \
	patterns \
	$(NULL)

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