Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use dkg's approach but keep the pkg/ directory

(I like to keep a stack of old builds around and not have everything
cluttered)
  • Loading branch information...
commit ae4600cd67d0b97ffb50f1629796641ea4b0211e 1 parent 973bf50
@pde pde authored
Showing with 5 additions and 3 deletions.
  1. +4 −2 Makefile
  2. +1 −1  makexpi.sh
View
6 Makefile
@@ -4,9 +4,11 @@
%:
./makexpi.sh $@
# this makes prerelease xpis (and is the default rule)
-prerelease:
+prerelease: pkg
./makexpi.sh
+pkg:
+ mkdir pkg
clean:
- rm -f *.xpi
+ rm -f pkg/*.xpi
.PHONY: clean prerelease
View
2  makexpi.sh
@@ -22,7 +22,7 @@ else
VERSION="$(grep em:version src/install.rdf | sed -e 's/[<>]/ /g' | cut -f3)~pre"
TARG=HEAD
fi
-XPI_NAME="$APP_NAME-$VERSION.xpi"
+XPI_NAME="pkg/$APP_NAME-$VERSION.xpi"
cd "$(dirname $0)/src"
git archive --format=zip -9 "$TARG" . > "../$XPI_NAME"
Please sign in to comment.
Something went wrong with that request. Please try again.