diff options
author | Nick White <git@njw.me.uk> | 2010-11-02 18:33:52 +0000 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2010-11-02 18:33:52 +0000 |
commit | e2c3998350430dd529a82bcb679ac53c5161196a (patch) | |
tree | d59e65d5f26030694c7c87c442c38f7c6103b225 /Makefile | |
parent | 2cee16336a4ce756cac166adccbb40a41122b6f4 (diff) |
Add working firefox extension
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -21,5 +21,15 @@ dist: @ln -sf $(NAME)-$(VERSION).tar.bz2.sig latest.tar.bz2.sig @echo $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION).tar.bz2.sig -.PHONY: dist +xpi: readable.js gecko/install.rdf gecko/chrome.manifest gecko/chrome/content/readable.xul + rm -f readable-$(VERSION).xpi + mkdir -p gecko-build/chrome/content + cp gecko/chrome.manifest gecko-build/ + cp gecko/chrome/content/readable.xul gecko-build/chrome/content/ + cp readable.js gecko-build/chrome/content/readable.js + sed "s/VERSION/$(VERSION)/g" < gecko/install.rdf > gecko-build/install.rdf + cd gecko-build; zip -r ../readable-$(VERSION).xpi . + rm -rf gecko-build + +.PHONY: dist xpi .SUFFIXES: ttl html |