Makefile: new file
This commit is contained in:
parent
2908848f3d
commit
197aa05da3
2 changed files with 23 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/out
|
22
Makefile
Normal file
22
Makefile
Normal file
|
@ -0,0 +1,22 @@
|
|||
USERCHROME_FILES := root.css urlbar.css appMenu.css
|
||||
|
||||
all: out/home.html out/policies.json out/prefs.js out/userChrome.css
|
||||
|
||||
clean:
|
||||
rm -rf out
|
||||
out:
|
||||
mkdir out
|
||||
|
||||
out/home.html: src/home.html out
|
||||
cat $< > $@
|
||||
|
||||
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
|
Loading…
Reference in a new issue