summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@futeisha.org>2014-01-03 14:53:50 -0400
committerKali Kaneko <kali@futeisha.org>2014-01-03 15:07:01 -0400
commitb5945ca733c218da29b04bbe88c0f5b33ff385de (patch)
tree020ba3d37d5a67770f48253f60a57d25c7a7331e
parent7f851488dbc8fe70924432c279488e31b662f854 (diff)
add properties files to xpi files
This is a merge from the Makefile in the debian branch. bitmask.xpi rule is the one expected/used by the debhelper. I think it was not correctly included or merged in a past pullreq.
-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)