|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
extensionurl = https://github.com/ecyrbe/gnome-shell-extension-weather
|
|
|
|
|
extensionurl = https://github.com/Neroth/gnome-shell-extension-weather
|
|
|
|
|
|
|
|
|
|
# Change these to modify how installation is performed
|
|
|
|
|
topextensiondir = $(datadir)/gnome-shell/extensions
|
|
|
|
@ -7,17 +7,33 @@ uuid = weather@gnome-shell-extensions.gnome.org |
|
|
|
|
|
|
|
|
|
extensiondir = $(topextensiondir)/$(uuid)
|
|
|
|
|
|
|
|
|
|
dist_extension_DATA = extension.js stylesheet.css
|
|
|
|
|
if DESKTOP_DATADIR |
|
|
|
|
|
|
|
|
|
applicationsdir = $(DESKTOP_DATADIR)/applications
|
|
|
|
|
applications_DATA = weather-settings.desktop
|
|
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
dist_extension_DATA = extension.js stylesheet.css weather-settings.ui
|
|
|
|
|
|
|
|
|
|
nodist_extension_DATA = metadata.json $(EXTRA_EXTENSION)
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST = metadata.json.in
|
|
|
|
|
nodist_extension_SCRIPTS = weather-settings
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST = metadata.json.in weather-settings.js.in weather-settings.desktop.in
|
|
|
|
|
|
|
|
|
|
metadata.json: metadata.json.in $(top_builddir)/config.status |
|
|
|
|
$(AM_V_GEN) sed -e "s|[@]LOCALEDIR@|$(datadir)/locale|" \
|
|
|
|
|
-e "s|[@]uuid@|$(uuid)|" \
|
|
|
|
|
-e "s|[@]url@|$(extensionurl)|" $< > $@
|
|
|
|
|
|
|
|
|
|
CLEANFILES = metadata.json
|
|
|
|
|
weather-settings: weather-settings.js.in $(top_builddir)/config.status |
|
|
|
|
$(AM_V_GEN) sed -e "s|[@]EXTENSIONDIR@|$(extensiondir)|" $< > $@
|
|
|
|
|
|
|
|
|
|
weather-settings.desktop: weather-settings.desktop.in $(top_builddir)/config.status |
|
|
|
|
$(AM_V_GEN) sed -e "s|[@]EXTENSIONDIR@|$(extensiondir)|" $< > $@
|
|
|
|
|
|
|
|
|
|
CLEANFILES = metadata.json weather-settings weather-settings.desktop
|
|
|
|
|
|
|
|
|
|
gschemas_in = org.gnome.shell.extensions.weather.gschema.xml.in
|
|
|
|
|
|
|
|
|
|