mobile-config-firefox: create userChrome.css symlink

This commit is contained in:
Oliver Smith 2020-08-06 16:25:22 +02:00
parent 016a9bb845
commit 87d4ae0ca3
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
3 changed files with 46 additions and 2 deletions

View file

@ -18,14 +18,18 @@ out/home.html: src/homepage/*.html out
out/userChrome.css: out src/userChrome/*.css
( cd src/userChrome; cat $(USERCHROME_FILES) ) > $@
install:
install: all
install -Dm644 src/policies.json \
"$(DESTDIR)/etc/firefox/policies/policies.json"
install -Dm644 out/prefs.js \
install -Dm644 src/prefs.js \
"$(DESTDIR)/usr/lib/firefox/defaults/pref/mobile-config.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 -Dm755 "src/mobile-config-firefox.sh" \
"$(DESTDIR)/usr/bin/mobile-config-firefox"
install -Dm644 "src/mobile-config-firefox.desktop" \
"$(DESTDIR)/usr/mobile-config/applications/org.mozilla.firefox.desktop"
.PHONY: all clean install