summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d331e5b..ac87837 100755
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,13 @@ endif
endif
endif
+XPI_CONTENTS:=$(shell find chrome -name "*.html" -o -name "*.xhtml" -o -name "*.css" -o -name "*.png" -o -name "*.gif" -o -name "*.js" -o -name "*.jsm" -o -name "*.dtd" -o -name "*.xul" -o -name "messages" -o -name "*.properties") chrome.manifest install.rdf COPYING
+
+bitmask.xpi: $(XPI_CONTENTS)
+ zip $@ $(XPI_CONTENTS)
+
+xpi_release:
+ ln -s $(XPINAME) $(PKGNAME)
# main rule
all: clean $(TARGET)