6e95e27712a1a65c9f97caf8933184d495712579
Lunar Import build system from pr...

Lunar authored 9 years ago

1) AC_INIT([tor-browser-user-manual],
2)         m4_esyscmd([build-aux/git-version-gen .version]),
3)         [tbb-dev@lists.torproject.org])
4) 
5) AM_INIT_AUTOMAKE([foreign])
6) 
Lunar Retrieve Tor Browser versio...

Lunar authored 9 years ago

7) AC_ARG_WITH(tor-browser-bundle,
8)             AC_HELP_STRING([--with-tor-browser-bundle=PROGRAM],
9)                            [location of the clone of tor-browser-bundle.git]),
10)             [tor_browser_bundle_dir=$withval])
Lunar Use the new git-tb-version...

Lunar authored 9 years ago

11) GET_TB_VERSION="${tor_browser_bundle_dir}/gitian/get-tb-version"
12) if ! test -x "$GET_TB_VERSION"; then
Lunar Retrieve Tor Browser versio...

Lunar authored 9 years ago

13)     AC_MSG_ERROR([Please clone tor-browser-bundle.git and specify its location using --with-tor-browser-bundle])
14) fi
15) 
Lunar Use the new git-tb-version...

Lunar authored 9 years ago

16) TOR_BROWSER_VERSION=$(eval $(GIT_DIR=${tor_browser_bundle_dir}/.git $GET_TB_VERSION); echo "$TORBROWSER_VERSION")
Lunar Retrieve Tor Browser versio...

Lunar authored 9 years ago

17) if test "x$TOR_BROWSER_VERSION" = "x"; then
18)     AC_MSG_ERROR([Couldn't determine Tor Browser version.])
19) fi
20) TOR_BROWSER_BUNDLE_LOCALES=$(. "$VERSIONS_PATH"; echo "$BUNDLE_LOCALES")
21) 
Lunar Enable out-of-source-tree b...

Lunar authored 9 years ago

22) AC_SUBST(TOR_BROWSER_VERSION)
Lunar Retrieve Tor Browser versio...

Lunar authored 9 years ago

23) AC_SUBST(TOR_BROWSER_BUNDLE_LOCALES)
24) 
Lunar Import build system from pr...

Lunar authored 9 years ago

25) YELP_HELP_INIT
26) 
27) AC_CONFIG_FILES([Makefile
Lunar Enable out-of-source-tree b...

Lunar authored 9 years ago

28)                  include/tor-browser-version.xml])