mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
75 lines
2 KiB
Makefile
75 lines
2 KiB
Makefile
NULL=
|
|
|
|
xml_in_files = nautilus.xml.in
|
|
xml_files = $(xml_in_files:.xml.in=.xml)
|
|
@INTLTOOL_XML_RULE@
|
|
|
|
desktopdir = $(datadir)/applications
|
|
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
|
|
desktop_in_files = \
|
|
nautilus.desktop.in \
|
|
nautilus-autorun-software.desktop.in \
|
|
nautilus-connect-server.desktop.in
|
|
|
|
autostartdir = $(sysconfdir)/xdg/autostart
|
|
autostart_in_files = nautilus-autostart.desktop.in
|
|
autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)
|
|
|
|
@INTLTOOL_DESKTOP_RULE@
|
|
|
|
mimedir = $(datadir)/mime/packages
|
|
mime_DATA = $(xml_files)
|
|
|
|
servicedir = $(datadir)/dbus-1/services
|
|
service_DATA = $(service_in_files:.service.in=.service)
|
|
service_in_files = \
|
|
org.freedesktop.FileManager1.service.in \
|
|
org.gnome.Nautilus.service.in \
|
|
org.gnome.Nautilus.SearchProvider.service.in
|
|
|
|
org.gnome.Nautilus.service: org.gnome.Nautilus.service.in Makefile
|
|
$(AM_V_GEN) sed -e "s|\@bindir\@|$(bindir)|" $< > $@
|
|
|
|
org.freedesktop.FileManager1.service: org.freedesktop.FileManager1.service.in Makefile
|
|
$(AM_V_GEN) sed -e "s|\@bindir\@|$(bindir)|" $< > $@
|
|
|
|
org.gnome.Nautilus.SearchProvider.service: org.gnome.Nautilus.SearchProvider.service.in Makefile
|
|
$(AM_V_GEN) sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
|
|
|
|
searchproviderdir = $(datadir)/gnome-shell/search-providers
|
|
searchprovider_DATA = nautilus-search-provider.ini
|
|
|
|
nautilusdatadir = $(datadir)/nautilus
|
|
|
|
nautilusdata_DATA = \
|
|
nautilus-extras.placeholder \
|
|
nautilus-suggested.placeholder \
|
|
$(NULL)
|
|
|
|
EXTRA_DIST = $(nautilusdata_DATA) \
|
|
nautilus.desktop \
|
|
nautilus.desktop.in \
|
|
dbus-interfaces.xml \
|
|
freedesktop-dbus-interfaces.xml \
|
|
shell-search-provider-dbus-interfaces.xml \
|
|
$(xml_in_files) \
|
|
$(desktop_in_files) \
|
|
$(service_in_files) \
|
|
$(autostart_in_files) \
|
|
$(NULL)
|
|
|
|
CLEANFILES = $(xml_files) \
|
|
$(desktop_DATA) \
|
|
$(service_DATA) \
|
|
$(autostart_DATA) \
|
|
$(NULL)
|
|
|
|
install-data-hook:
|
|
if ENABLE_UPDATE_MIMEDB
|
|
$(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime"
|
|
endif
|
|
|
|
uninstall-hook:
|
|
if ENABLE_UPDATE_MIMEDB
|
|
$(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime"
|
|
endif
|