From 3750346a8e8736c726e6ad8fcb8ad82d81975fbc Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 16 Mar 2015 02:05:26 +0100 Subject: XUL extension --- xul-ext/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 xul-ext/Makefile (limited to 'xul-ext/Makefile') 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>.*/ {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 -- cgit v1.2.3