git.schokokeks.org
Repositories
Help
Report an Issue
tor-tb-manual.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
6e95e27
Branches
Tags
master
tor-tb-manual.git
configure.ac
Use the new git-tb-version script to find Tor Browser version
Lunar
commited
6e95e27
at 2015-03-05 18:26:42
configure.ac
Blame
History
Raw
AC_INIT([tor-browser-user-manual], m4_esyscmd([build-aux/git-version-gen .version]), [tbb-dev@lists.torproject.org]) AM_INIT_AUTOMAKE([foreign]) AC_ARG_WITH(tor-browser-bundle, AC_HELP_STRING([--with-tor-browser-bundle=PROGRAM], [location of the clone of tor-browser-bundle.git]), [tor_browser_bundle_dir=$withval]) GET_TB_VERSION="${tor_browser_bundle_dir}/gitian/get-tb-version" if ! test -x "$GET_TB_VERSION"; then AC_MSG_ERROR([Please clone tor-browser-bundle.git and specify its location using --with-tor-browser-bundle]) fi TOR_BROWSER_VERSION=$(eval $(GIT_DIR=${tor_browser_bundle_dir}/.git $GET_TB_VERSION); echo "$TORBROWSER_VERSION") if test "x$TOR_BROWSER_VERSION" = "x"; then AC_MSG_ERROR([Couldn't determine Tor Browser version.]) fi TOR_BROWSER_BUNDLE_LOCALES=$(. "$VERSIONS_PATH"; echo "$BUNDLE_LOCALES") AC_SUBST(TOR_BROWSER_VERSION) AC_SUBST(TOR_BROWSER_BUNDLE_LOCALES) YELP_HELP_INIT AC_CONFIG_FILES([Makefile include/tor-browser-version.xml]) AC_OUTPUT