Commit 6cf204d6 authored by Kathleen Brade's avatar Kathleen Brade
Browse files

Bug 12451: add option to hide TBB's logo

Use 'make TL_LOGO=- ...' to build without a logo or
    'make TL_LOGO=path.png ...' to substitute a custom logo (115 x 80 pixels).
parent 5880ff99
### Copyright (c) 2013, The Tor Project, Inc.
### Copyright (c) 2014, The Tor Project, Inc.
### See src/LICENSE for licensing information.
EXT_NAME=tor-launcher
......@@ -28,6 +28,13 @@ pkg-prepare: clean
@mkdir -p pkg
$(eval TMP="$(shell mktemp -d "/tmp/$(EXT_NAME).XXXXXX")")
@cp -a "src" "$(TMP)/$(EXT_NAME)"
@if [ -n "$(TL_LOGO)" ]; then \
if [ "$(TL_LOGO)" = "-" ]; then \
rm "$(TMP)/$(EXT_NAME)/chrome/skin/tbb-logo.png"; \
else \
cp -p "$(TL_LOGO)" "$(TMP)/$(EXT_NAME)/chrome/skin/tbb-logo.png"; \
fi \
fi
@cp -a chrome.manifest.in "$(TMP)/$(EXT_NAME)"/chrome.manifest
@mv "$(TMP)/$(EXT_NAME)"/chrome/locale/en \
"$(TMP)/$(EXT_NAME)"/chrome/locale/en-US
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment