install: uninstall mkdir -p /usr/share/webext/i2psetproxy.js@eyedeekay.github.io \ /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ cp -rv options /usr/share/webext/i2psetproxy.js@eyedeekay.github.io/options cp -rv icons /usr/share/webext/i2psetproxy.js@eyedeekay.github.io/icons cp -rv _locales /usr/share/webext/i2psetproxy.js@eyedeekay.github.io/_locales cp background.js /usr/share/webext/i2psetproxy.js@eyedeekay.github.io cp proxy.js /usr/share/webext/i2psetproxy.js@eyedeekay.github.io cp manifest.json /usr/share/webext/i2psetproxy.js@eyedeekay.github.io/ cp README.md /usr/share/webext/i2psetproxy.js@eyedeekay.github.io cp LICENSE /usr/share/webext/i2psetproxy.js@eyedeekay.github.io ln -sf /usr/share/webext/i2psetproxy.js@eyedeekay.github.io \ /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/i2psetproxy.js@eyedeekay.github.io uninstall: rm -rf /usr/share/webext/i2psetproxy.js@eyedeekay.github.io \ /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/i2psetproxy.js@eyedeekay.github.io clobber: rm -f ../i2psetproxy.js.zip ../i2p_proxy*.xpi xpi: mv ~/Downloads/i2p_proxy-$(VERSION)-an+fx.xpi ../i2psetproxy.js@eyedeekay.github.io.xpi cp: cp ../i2psetproxy.js@eyedeekay.github.io.xpi ./i2psetproxy.js@eyedeekay.github.io.xpi VERSION=1.15 version: sed -i 's|$(shell grep "\"version\": " manifest.json)| \"version\": \"$(VERSION)\",|g' manifest.json zip: version zip --exclude="./i2psetproxy.js@eyedeekay.github.io.xpi" \ --exclude="i2psetproxy.js.png" -r -FS ../i2psetproxy.js.zip *