summaryrefslogtreecommitdiff
path: root/Makefile
blob: 35023b789f91074c6ce5c8d4ab3465f80eb67f77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
ZIP?=zip

# What goes inside the .xpi package
CONTENT:=install.rdf chrome.manifest bootstrap.js icon.png \
	$(wildcard chrome/content/*)

all: dist

# "dist" target builds .xpi extension package.
dist: topmenu.xpi
	
topmenu.xpi: $(CONTENT)
	$(ZIP) $(ZIPFLAGS) $@ $^

clean:
	rm -f topmenu.xpi

.PHONY: all dist clean