Homepage: set to about:home (MR 19)

Use the standard Firefox homepage as default homepage. The information
on the previous homepage is mostly obsolete, and this makes it look much
nicer.
This commit is contained in:
Oliver Smith 2021-12-04 19:50:56 +01:00
parent af7c250fe3
commit 559d48638e
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
5 changed files with 2 additions and 127 deletions

View file

@ -10,18 +10,13 @@ DESTDIR :=
FIREFOX_DIR := /usr/lib/firefox
FIREFOX_CONFIG_DIR := /etc/firefox
all: out/home.html out/userChrome.css out/userContent.css
all: out/userChrome.css out/userContent.css
clean:
rm -rf out
out:
mkdir out
out/home.html: src/homepage/*.html out
( cd src/homepage; cat $(HOMEPAGE_FILES) ) > $@.temp
sed "s/@DISTRO@/$(DISTRO)/g" "$@.temp" > "$@"
rm "$@.temp"
out/userChrome.css: $(USERCHROME_FILES) out
cat $(USERCHROME_FILES) > $@
@ -35,8 +30,6 @@ install: all
"$(DESTDIR)/$(FIREFOX_DIR)/defaults/pref/mobile-config-prefs.js"
install -Dm644 src/mobile-config-autoconfig.js \
"$(DESTDIR)/$(FIREFOX_DIR)/mobile-config-autoconfig.js"
install -Dm644 "out/home.html" \
"$(DESTDIR)/usr/share/mobile-config-firefox/home.html"
install -Dm644 "out/userChrome.css" \
"$(DESTDIR)/etc/mobile-config-firefox/userChrome.css"
install -Dm644 "out/userContent.css" \