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