2 Star 13 Fork 0

ALEX!233/arc-firefox-theme

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile.am 3.09 KB
一键复制 编辑 原始数据 按行查看 历史
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
CSS
1
https://gitee.com/ALEX_233/arc-firefox-theme.git
git@gitee.com:ALEX_233/arc-firefox-theme.git
ALEX_233
arc-firefox-theme
arc-firefox-theme
master

搜索帮助