2014-02-17 16:19:18 +00:00
|
|
|
CLEANFILES =
|
2015-02-21 15:16:48 +00:00
|
|
|
NULL =
|
2014-02-17 16:19:18 +00:00
|
|
|
|
2009-08-07 17:10:39 +00:00
|
|
|
desktopdir=$(datadir)/applications
|
2014-12-17 17:31:38 +00:00
|
|
|
desktop_DATA = org.gnome.Shell.desktop gnome-shell-extension-prefs.desktop
|
2009-08-07 17:10:39 +00:00
|
|
|
|
2014-02-17 16:19:18 +00:00
|
|
|
if HAVE_NETWORKMANAGER
|
|
|
|
desktop_DATA += org.gnome.Shell.PortalHelper.desktop
|
|
|
|
|
2016-07-12 20:47:32 +00:00
|
|
|
portaldir = $(datadir)/xdg-desktop-portal/portals
|
|
|
|
portal_DATA = gnome-shell.portal
|
|
|
|
|
2014-02-17 16:19:18 +00:00
|
|
|
servicedir = $(datadir)/dbus-1/services
|
|
|
|
service_DATA = org.gnome.Shell.PortalHelper.service
|
|
|
|
|
|
|
|
CLEANFILES += \
|
2016-07-21 20:42:19 +00:00
|
|
|
org.gnome.Shell.PortalHelper.service \
|
|
|
|
org.gnome.Shell.PortalHelper.desktop \
|
|
|
|
org.gnome.Shell.PortalHelper.desktop.in \
|
2015-02-21 15:16:48 +00:00
|
|
|
$(NULL)
|
2014-02-17 16:19:18 +00:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
%.service: %.service.in
|
|
|
|
$(AM_V_GEN) sed -e "s|@libexecdir[@]|$(libexecdir)|" \
|
|
|
|
$< > $@ || rm $@
|
|
|
|
|
2009-08-07 17:10:39 +00:00
|
|
|
# We substitute in bindir so it works as an autostart
|
|
|
|
# file when built in a non-system prefix
|
2010-02-26 00:03:06 +00:00
|
|
|
%.desktop.in:%.desktop.in.in
|
2009-08-07 17:10:39 +00:00
|
|
|
$(AM_V_GEN) sed -e "s|@bindir[@]|$(bindir)|" \
|
|
|
|
-e "s|@VERSION[@]|$(VERSION)|" \
|
|
|
|
$< > $@ || rm $@
|
|
|
|
|
2016-07-21 20:42:19 +00:00
|
|
|
%.desktop:%.desktop.in
|
|
|
|
$(AM_V_GEN) $(MSGFMT) --desktop --template $(builddir)/$< \
|
|
|
|
-d $(top_srcdir)/po -o $@
|
2009-08-07 17:10:39 +00:00
|
|
|
|
2011-11-16 23:11:05 +00:00
|
|
|
introspectiondir = $(datadir)/dbus-1/interfaces
|
2012-12-05 17:59:24 +00:00
|
|
|
introspection_DATA = \
|
2013-05-06 16:50:31 +00:00
|
|
|
org.gnome.Shell.Screencast.xml \
|
2013-01-15 01:44:08 +00:00
|
|
|
org.gnome.Shell.Screenshot.xml \
|
2012-12-05 17:59:24 +00:00
|
|
|
org.gnome.ShellSearchProvider.xml \
|
2015-02-21 15:16:48 +00:00
|
|
|
org.gnome.ShellSearchProvider2.xml \
|
|
|
|
$(NULL)
|
2011-11-16 23:11:05 +00:00
|
|
|
|
2015-02-20 18:42:07 +00:00
|
|
|
theme_sources = \
|
|
|
|
theme/gnome-shell-high-contrast.scss \
|
|
|
|
theme/gnome-shell.scss \
|
|
|
|
theme/gnome-shell-sass/_colors.scss \
|
|
|
|
theme/gnome-shell-sass/_common.scss \
|
|
|
|
theme/gnome-shell-sass/_drawing.scss \
|
|
|
|
theme/gnome-shell-sass/_high-contrast-colors.scss \
|
2015-02-21 15:19:54 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
dist_theme_files = \
|
|
|
|
$(theme_sources) \
|
2015-03-04 20:17:10 +00:00
|
|
|
theme/Gemfile \
|
2015-02-21 15:19:54 +00:00
|
|
|
theme/HACKING \
|
2015-03-04 20:17:10 +00:00
|
|
|
theme/README \
|
2015-02-21 15:19:54 +00:00
|
|
|
theme/gnome-shell-sass/COPYING \
|
|
|
|
theme/gnome-shell-sass/HACKING \
|
|
|
|
theme/gnome-shell-sass/NEWS \
|
|
|
|
theme/gnome-shell-sass/README \
|
2015-02-21 15:16:48 +00:00
|
|
|
theme/gnome-shell-sass/gnome-shell-sass.doap \
|
2015-03-04 20:17:10 +00:00
|
|
|
theme/parse-sass.sh \
|
2015-02-21 15:16:48 +00:00
|
|
|
$(NULL)
|
2015-02-20 18:42:07 +00:00
|
|
|
|
2015-02-21 14:05:16 +00:00
|
|
|
%.css: %.scss $(theme_sources)
|
|
|
|
@if test -n "$(SASS)"; then \
|
|
|
|
if $(AM_V_P); then PS4= set -x; else echo " GEN $@"; fi; \
|
|
|
|
$(SASS) --sourcemap=none -f -q --update $<; \
|
|
|
|
fi
|
|
|
|
|
2014-09-19 02:24:46 +00:00
|
|
|
resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir)/theme --generate-dependencies $(srcdir)/gnome-shell-theme.gresource.xml)
|
|
|
|
gnome-shell-theme.gresource: gnome-shell-theme.gresource.xml $(resource_files)
|
|
|
|
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir)/theme $<
|
|
|
|
resourcedir = $(pkgdatadir)
|
|
|
|
resource_DATA = gnome-shell-theme.gresource
|
2010-01-22 02:33:48 +00:00
|
|
|
|
2014-08-11 12:35:52 +00:00
|
|
|
backgrounddir = $(pkgdatadir)
|
|
|
|
background_DATA = perf-background.xml
|
|
|
|
|
|
|
|
perf-background.xml: perf-background.xml.in
|
|
|
|
$(AM_V_GEN) sed -e "s|@datadir[@]|$(datadir)|" \
|
|
|
|
$< > $@ || rm $@
|
|
|
|
|
2011-10-20 20:28:59 +00:00
|
|
|
keysdir = @GNOME_KEYBINDINGS_KEYSDIR@
|
2016-07-21 20:42:19 +00:00
|
|
|
keys_DATA = 50-gnome-shell-system.xml
|
2011-10-20 20:28:59 +00:00
|
|
|
|
2012-04-26 13:08:27 +00:00
|
|
|
gsettings_SCHEMAS = org.gnome.shell.gschema.xml
|
2010-06-19 13:43:39 +00:00
|
|
|
|
2016-07-21 20:42:19 +00:00
|
|
|
%.gschema.xml: %.gschema.xml.in Makefile
|
2012-06-05 14:58:25 +00:00
|
|
|
$(AM_V_GEN) sed -e 's|@GETTEXT_PACKAGE[@]|$(GETTEXT_PACKAGE)|g' \
|
|
|
|
$< > $@ || rm $@
|
|
|
|
|
2010-05-05 21:05:42 +00:00
|
|
|
@GSETTINGS_RULES@
|
2009-09-18 20:29:28 +00:00
|
|
|
|
2010-05-05 21:05:42 +00:00
|
|
|
# We need to compile schemas at make time
|
|
|
|
# to run from source tree
|
2010-06-18 22:21:17 +00:00
|
|
|
gschemas.compiled: $(gsettings_SCHEMAS:.xml=.valid)
|
2010-06-18 21:47:36 +00:00
|
|
|
$(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --targetdir=. .
|
2010-05-05 21:05:42 +00:00
|
|
|
|
|
|
|
all-local: gschemas.compiled
|
|
|
|
|
2012-01-10 16:15:22 +00:00
|
|
|
convertdir = $(datadir)/GConf/gsettings
|
|
|
|
convert_DATA = gnome-shell-overrides.convert
|
2010-05-05 21:05:42 +00:00
|
|
|
|
2010-02-26 00:03:06 +00:00
|
|
|
EXTRA_DIST = \
|
2014-12-17 17:31:38 +00:00
|
|
|
org.gnome.Shell.desktop.in.in \
|
2012-02-07 23:31:05 +00:00
|
|
|
gnome-shell-extension-prefs.desktop.in.in \
|
2016-07-20 19:03:50 +00:00
|
|
|
$(portal_DATA) \
|
2011-11-16 23:11:05 +00:00
|
|
|
$(introspection_DATA) \
|
2010-06-04 22:01:32 +00:00
|
|
|
$(menu_DATA) \
|
2012-01-10 16:15:22 +00:00
|
|
|
$(convert_DATA) \
|
2016-07-21 20:42:19 +00:00
|
|
|
$(keys_DATA) \
|
2015-02-21 15:19:54 +00:00
|
|
|
$(dist_theme_files) \
|
2014-08-11 12:35:52 +00:00
|
|
|
perf-background.xml.in \
|
2016-07-21 20:42:19 +00:00
|
|
|
org.gnome.Shell.PortalHelper.desktop.in.in \
|
2014-02-17 16:19:18 +00:00
|
|
|
org.gnome.Shell.PortalHelper.service.in \
|
2016-07-21 20:42:19 +00:00
|
|
|
org.gnome.shell.gschema.xml.in \
|
2014-09-19 02:24:46 +00:00
|
|
|
gnome-shell-theme.gresource.xml \
|
2015-02-21 15:16:48 +00:00
|
|
|
$(resource_files) \
|
|
|
|
$(NULL)
|
2009-08-07 17:10:39 +00:00
|
|
|
|
2014-02-17 16:19:18 +00:00
|
|
|
CLEANFILES += \
|
2014-12-17 17:31:38 +00:00
|
|
|
org.gnome.Shell.desktop.in \
|
2012-01-19 02:21:56 +00:00
|
|
|
gnome-shell-extension-prefs.in \
|
2010-05-05 21:05:42 +00:00
|
|
|
$(desktop_DATA) \
|
|
|
|
$(gsettings_SCHEMAS) \
|
2014-08-11 12:35:52 +00:00
|
|
|
perf-background.xml \
|
2012-06-05 14:58:25 +00:00
|
|
|
gschemas.compiled \
|
|
|
|
org.gnome.shell.gschema.valid \
|
2015-02-21 15:16:48 +00:00
|
|
|
gnome-shell-theme.gresource \
|
|
|
|
$(NULL)
|