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

%.desktop: %.desktop.in
	$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@

desktopdir = $(datadir)/applications
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
desktop_in_files = mate-user-share-properties.desktop.in

autostartdir = $(sysconfdir)/xdg/autostart/
autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)
autostart_in_files = mate-user-share-obexftp.desktop.in mate-user-share-obexpush.desktop.in mate-user-share-webdav.desktop.in

appdir = $(datadir)/mate-user-share
app_DATA=dav_user_2.2.conf dav_user_2.4.conf dav_groupfile file-share-properties.ui

gsettings_SCHEMAS = org.mate.FileSharing.gschema.xml
@GSETTINGS_RULES@

extensiondir = $(datadir)/caja/extensions
extension_in_file = libcaja-user-share.desktop.in
extension_DATA = $(extension_in_file:.desktop.in=.caja-extension)
$(extension_DATA): $(extension_in_file)
	$(AM_V_GEN) $(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@

EXTRA_DIST = $(gsettings_SCHEMAS) \
	$(app_DATA)		\
	$(desktop_in_files)	\
	mate-user-share-obexftp.desktop.in.in \
	mate-user-share-obexpush.desktop.in.in \
	mate-user-share-webdav.desktop.in.in \
	file-share-properties.ui

CLEANFILES = $(extension_DATA) $(desktop_DATA) $(autostart_DATA)

-include $(top_srcdir)/git.mk