代码拉取完成,页面将自动刷新
ACLOCAL_AMFLAGS = -I m4
AM_CFLAGS =
light_guid = 52c2877e-44e1-11e5-8874-a62d1d5d46B0
darker_guid = 8a01dfcc-450f-11e5-909b-fb581d5d46b0
dark_guid = 03cb16aa-4675-11e5-b233-213b1d5d46b0
lighttempdir = $(top_builddir)/arc-firefox-theme-light
darkertempdir = $(top_builddir)/arc-firefox-theme-darker
darktempdir = $(top_builddir)/arc-firefox-theme-darker
extensiondir = $(DESTDIR)/$(libdir)/firefox/browser/extensions
EXTRA_DIST = ${top_srcdir}/README.md \
${top_srcdir}/LICENSE \
${top_srcdir}/arc-firefox-theme \
$(top_srcdir)/autogen.sh
NULL =
mkxpi:
if ENABLE_LIGHT
cp -R $(top_srcdir)/arc-firefox-theme $(lighttempdir)
cp $(lighttempdir)/chrome/browser/sass/browser-light.css $(lighttempdir)/chrome/browser/browser.css
rm -rf $(lighttempdir)/chrome/browser/sass
rm $(lighttempdir)/chrome/overrides.sh
cd $(lighttempdir) && \
/usr/bin/zip -FS -r ../arc-firefox-theme-$(VERSION).xpi *
rm -rf $(lighttempdir)
endif # ENABLE_LIGHT
if ENABLE_DARKER
cp -R $(top_srcdir)/arc-firefox-theme $(darkertempdir)
cp $(darkertempdir)/chrome/browser/sass/browser-darker.css $(darkertempdir)/chrome/browser/browser.css
rm -rf $(darkertempdir)/chrome/browser/sass
rm $(darkertempdir)/chrome/overrides.sh
sed -i 's/arc-theme/arc-darker-theme/' $(darkertempdir)/chrome.manifest
sed -i 's/arc-theme/arc-darker-theme/' $(darkertempdir)/install.rdf
sed -i 's/Arc /Arc Darker /' $(darkertempdir)/install.rdf
sed -i "s/$(light_guid)/$(darker_guid)/" $(darkertempdir)/install.rdf
cd $(darkertempdir) && \
/usr/bin/zip -FS -r ../arc-darker-firefox-theme-$(VERSION).xpi *
rm -rf $(darkertempdir)
endif # ENABLE_LIGHT
if ENABLE_DARK
cp -R $(top_srcdir)/arc-firefox-theme $(darktempdir)
cp $(darktempdir)/chrome/browser/sass/browser-dark.css $(darktempdir)/chrome/browser/browser.css
rm -rf $(darktempdir)/chrome/browser/sass
rm $(darktempdir)/chrome/overrides.sh
sed -i 's/arc-theme/arc-dark-theme/' $(darktempdir)/chrome.manifest
sed -i 's/arc-theme/arc-dark-theme/' $(darktempdir)/install.rdf
sed -i 's/Arc /Arc Dark /' $(darktempdir)/install.rdf
sed -i "s/$(light_guid)/$(dark_guid)/" $(darktempdir)/install.rdf
cd $(darktempdir) && \
/usr/bin/zip -FS -r ../arc-dark-firefox-theme-$(VERSION).xpi *
rm -rf $(darktempdir)
endif # ENABLE_DARK
install-data-local: mkxpi
$(MKDIR_P) $(extensiondir)
if ENABLE_LIGHT
/usr/bin/unzip -d $(extensiondir)/\{$(light_guid)\} $(top_builddir)/arc-firefox-theme-$(VERSION).xpi
endif # ENABLE_LIGHT
if ENABLE_DARKER
/usr/bin/unzip -d $(extensiondir)/\{$(darker_guid)\} $(top_builddir)/arc-darker-firefox-theme-$(VERSION).xpi
endif # ENABLE_LIGHT
if ENABLE_DARK
/usr/bin/unzip -d $(extensiondir)/\{$(dark_guid)\} $(top_builddir)/arc-dark-firefox-theme-$(VERSION).xpi
endif # ENABLE_LIGHT
uninstall:
if ENABLE_LIGHT
rm -rf $(extensiondir)/\{$(light_guid)\}
endif # ENABLE_LIGHT
if ENABLE_DARKER
rm -rf $(extensiondir)/\{$(darker_guid)\}
endif # ENABLE_DARKER
if ENABLE_DARK
rm -rf $(extensiondir)/\{$(dark_guid)\}
endif # ENABLE_DARK
CLEANFILES = \
arc-firefox-theme-$(VERSION).xpi \
arc-darker-firefox-theme-$(VERSION).xpi \
arc-dark-firefox-theme-$(VERSION).xpi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。