forked from ngyikp/Ponify-extension-archive
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
27 lines (20 loc) · 755 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
default:
${info Specify a target browser: chrome, chromium, opera, gecko_unsgined}
all: chrome chromium opera gecko_unsigned
chrome:
google-chrome --pack-extension=extension
mv "extension.crx" "build/PonifyReharmonized_chrome.crx"
mv "extension.pem" "build/PonifyReharmonized_chrome.pem"
chromium:
chromium-browser --pack-extension=extension
mv "extension.crx" "build/PonifyReharmonized_chromium.crx"
mv "extension.pem" "build/PonifyReharmonized_chromium.pem"
opera:
chromium-browser --pack-extension=extension
mv "extension.crx" "build/PonifyReharmonized_opera.crx"
mv "extension.pem" "build/PonifyReharmonized_opera.pem"
gecko_unsigned:
cd extension; \
zip -r "../build/PonifyReharmonized_gecko_unsigned.xpi" *
clean:
rm -rf build/*