aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorjahoti <jahoti@tilde.team>2021-10-14 00:00:00 +0000
committerjahoti <jahoti@tilde.team>2021-10-14 00:00:00 +0000
commitef5ae6490afa35f79dd830e3c84fa8ab5e623a2e (patch)
tree647fc8a86e27ff58d32e60be3a5438efa0df3ebe /configure
parentee53045fb37bbd80cef4c899dff6b077df5260d6 (diff)
downloadbrowser-extension-ef5ae6490afa35f79dd830e3c84fa8ab5e623a2e.tar.gz
browser-extension-ef5ae6490afa35f79dd830e3c84fa8ab5e623a2e.zip
Adjust makefile targets
Rename some files used in building and remove redundant aliases
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure b/configure
index 98d2ec5..4e5c038 100755
--- a/configure
+++ b/configure
@@ -26,7 +26,7 @@ while [ "x$1" != x ]; do
"UPDATE_URL"=*) UPDATE_URL="$(echo "$1" | cut -c 12-)";;
--host=*) TARGET="$(echo "$1" | cut -c 8-)";;
--host) TARGET="$2"; shift;;
- mozilla | chromium | all) TARGET=$1;;
+ mozilla | chromium) TARGET=$1;;
*) echo Ignoring option "'$1'";;
esac
shift
@@ -52,10 +52,9 @@ fi
# TODO: automate target detection
# Standardize and check browser names
-case "${TARGET:-all}" in
+case "$TARGET" in
mozilla) TARGET=mozilla;;
chromium) TARGET=chromium;;
- all) TARGET=all;;
*) echo Invalid target "'$1'" >&2; exit 2;;
esac