[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torbrowser/maint-2.3] Provide some lower2upper mappings for package names



commit 6c41c96e85bfb72836d782b626dc1b033bc93bbb
Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
Date:   Wed Feb 1 09:06:39 2012 +0100

    Provide some lower2upper mappings for package names
    
    We need these later, when we are fed lower-case strings and want them to
    be in upper case for our internal variables
---
 build-scripts/versions.mk |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/build-scripts/versions.mk b/build-scripts/versions.mk
index d021f5f..8baed26 100644
--- a/build-scripts/versions.mk
+++ b/build-scripts/versions.mk
@@ -46,6 +46,19 @@ TOR_URL=http://www.torproject.org/dist/$(TOR_PACKAGE)
 PIDGIN_URL=http://sourceforge.net/projects/pidgin/files/Pidgin/$(PIDGIN_PACKAGE)
 FIREFOX_URL=http://releases.mozilla.org/pub/mozilla.org/firefox/releases/$(FIREFOX_VER)/source/$(FIREFOX_PACKAGE)
 
+# Provide some mappings between lower and upper case, which means we don't need
+# to rely on shell shenanigans when we need the upper case version. This is
+# necessary because our targets are lowercase, and our variables uppercase.
+zlib=ZLIB
+libpng=LIBPNG
+qt=QT
+openssl=OPENSSL
+vidalia=VIDALIA
+libevent=LIBEVENT
+tor=TOR
+firefox=FIREFOX
+pidgin=PIDGIN
+
 fetch-source: fetch-zlib fetch-openssl fetch-libpng fetch-qt fetch-vidalia fetch-libevent fetch-tor fetch-firefox
 	-mkdir $(FETCH_DIR)
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits