aboutsummaryrefslogtreecommitdiffstats
path: root/xul-ext/Makefile
blob: d44f648d95da34741b9f7fea63b6fe1fed963248 (plain)
1
2
3
4
5
6
7
8
9
10
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