Makefile: allow to specify the firefox system directory (MR 1)
In some cases, such as the ESR package on Debian, Firefox can be installed to a different directory. This commit alters the Makefile so it's possible to specify the Firefox directory from the command-line.
This commit is contained in:
parent
34e48f39a2
commit
08e2288138
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -5,6 +5,7 @@ USERCHROME_FILES := $(sort $(wildcard src/userChrome/*.css))
|
|||
HOMEPAGE_FILES := head.html distro_links.html bottom.html
|
||||
DISTRO := postmarketOS
|
||||
DESTDIR :=
|
||||
FIREFOX_DIR := /usr/lib/firefox
|
||||
|
||||
all: out/home.html out/userChrome.css
|
||||
|
||||
|
@ -25,7 +26,7 @@ install: all
|
|||
install -Dm644 src/policies.json \
|
||||
"$(DESTDIR)/etc/firefox/policies/policies.json"
|
||||
install -Dm644 src/prefs.js \
|
||||
"$(DESTDIR)/usr/lib/firefox/defaults/pref/mobile-config.js"
|
||||
"$(DESTDIR)/$(FIREFOX_DIR)/defaults/pref/mobile-config.js"
|
||||
install -Dm644 "out/home.html" \
|
||||
"$(DESTDIR)/usr/share/mobile-config-firefox/home.html"
|
||||
install -Dm644 "out/userChrome.css" \
|
||||
|
|
Loading…
Reference in a new issue