fenix-fox/Makefile

27 lines
612 B
Makefile
Raw Normal View History

2020-08-06 13:30:02 +00:00
USERCHROME_FILES := root.css urlbar.css appMenu.css
HOMEPAGE_FILES := head.html distro_links.html bottom.html
DISTRO := postmarketOS
2020-08-06 13:30:02 +00:00
all: out/home.html out/policies.json out/prefs.js out/userChrome.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"
2020-08-06 13:30:02 +00:00
out/policies.json: src/policies.json out
cat $< > $@
out/prefs.js: src/prefs.js out
cat $< > $@
out/userChrome.css: out src/userChrome/*.css
( cd src/userChrome; cat $(USERCHROME_FILES) ) > $@
.PHONY: all clean