diff options
Diffstat (limited to 'xul-ext/Makefile')
-rw-r--r-- | xul-ext/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/xul-ext/Makefile b/xul-ext/Makefile new file mode 100644 index 0000000..d44f648 --- /dev/null +++ b/xul-ext/Makefile @@ -0,0 +1,11 @@ +XPI_NAME:=$(shell sed -nr '/.*<em:id>([^<]+)<\/em:id>.*/ {s//..\/\1.xpi/p;q}' install.rdf) + +all: $(XPI_NAME) + +$(XPI_NAME): chrome.manifest install.rdf COPYING $(shell find chrome/ -type f) + zip $@ $^ + +clean: + rm -f $(XPI_NAME) + +.PHONY: all clean |