-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
28 lines (22 loc) · 843 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
SRC := webcnoaddressbar webconverger webcfullscreen neon
all: ${SRC}
${SRC}:
cp src/[email protected] content/wc.css
cp src/[email protected] content/wc.xul
cp src/[email protected] content/wc.js
@mkdir -p defaults/preferences/
cp src/[email protected] defaults/preferences/prefs.js
@mkdir -p extensions
rsync -art chrome.manifest modules content install.rdf defaults components extensions/$@
zip -r [email protected] chrome.manifest content install.rdf defaults components modules
clean:
rm -rf *.xpi content/wc.css content/wc.xul content/wc.js defaults/
rm -rf extensions
deploy: all
sudo rsync --delete -art extensions/* $(WEBC_CHECKOUT)/etc/webc/extensions/
test: all
cat /usr/lib/firefox/browser/defaults/preferences/webc.js || true
pkill firefox-developer || true
firefox-developer -CreateProfile default
firefox-developer ./webconverger.xpi
.PHONY: clean all upload