62c322ce4239526e540cf264e47cf4a2afbd9ca6
Lunar Import build system from pr...

Lunar authored 10 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 10 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])
Colin Childs Actually fix build issue

Colin Childs authored 7 years ago

11) GET_TB_VERSION="${tor_browser_bundle_dir}/gitian/get-tb-version" 
Lunar Use the new git-tb-version...

Lunar authored 9 years ago

12) if ! test -x "$GET_TB_VERSION"; then
Lunar Retrieve Tor Browser versio...

Lunar authored 10 years ago

13)     AC_MSG_ERROR([Please clone tor-browser-bundle.git and specify its location using --with-tor-browser-bundle])
14) fi
15) 
Colin Childs Actually fix build issue

Colin Childs authored 7 years ago

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

Lunar authored 10 years ago

17) if test "x$TOR_BROWSER_VERSION" = "x"; then
18)     AC_MSG_ERROR([Couldn't determine Tor Browser version.])
19) fi
Lunar Fix locale discovery in con...

Lunar authored 9 years ago

20) 
21) VERSIONS_PATH="${tor_browser_bundle_dir}/gitian/versions"
Lunar Retrieve Tor Browser versio...

Lunar authored 10 years ago

22) TOR_BROWSER_BUNDLE_LOCALES=$(. "$VERSIONS_PATH"; echo "$BUNDLE_LOCALES")
23) 
Lunar Enable out-of-source-tree b...

Lunar authored 10 years ago

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

Lunar authored 10 years ago

25) AC_SUBST(TOR_BROWSER_BUNDLE_LOCALES)
26) 
Lunar Import build system from pr...

Lunar authored 10 years ago

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

Lunar authored 10 years ago

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