Source

earlylight / extension.sh

Full commit
#!/bin/sh
#
# This script will create the extension object directory and makefile in build directory passed as a parameter.
# start in src/earlylight
# typical usage: ./extension.sh tb-release/i386
DEPTH='..'
OBJ_DIR=$1
EXTENSION=earlylight
echo $OBJ_DIR
cd ../$DEPTH
BASEDIR=`pwd`
echo $BASEDIR
if [ ! -d $BASEDIR/$OBJ_DIR/$EXTENSION ]; then
  mkdir $BASEDIR/$OBJ_DIR/$EXTENSION
fi
cd $BASEDIR/$OBJ_DIR/$EXTENSION
echo `pwd`
$BASEDIR/src/mozilla/build/autoconf/make-makefile --top $BASEDIR/src -d $DEPTH Makefile