Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 7e17a76627
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (16 sloc) 0.448 kB
all:
:
NAME := openinbrowser
VERSION := $(shell grep em:version install.rdf|sed 's@.*em:version>\([^<]*\)<.*@\1@')
TARGET_XPI = $(NAME)-$(VERSION).xpi
xpi:
rm -rf ../tmp || :
mkdir ../tmp
cp -r ../$(NAME) ../tmp
rm -rf ../tmp/$(NAME)/.hg ../tmp/$(NAME)/.git ../tmp/$(NAME)/tests
find ../tmp -name "*~" -exec rm {} \;
cd ../tmp/$(NAME); \
zip -r $(TARGET_XPI) *
rm ../$(TARGET_XPI) || :
mv ../tmp/$(NAME)/$(TARGET_XPI) ..
rm -rf ../tmp
Jump to Line
Something went wrong with that request. Please try again.