Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Matthew Finkel
tor-browser-build
Commits
96d8b9e7
Unverified
Commit
96d8b9e7
authored
Jul 24, 2017
by
boklm
Browse files
Add a set_PTDIR_DOCSDIR option
parent
c8adacae
Changes
4
Hide whitespace changes
Inline
Side-by-side
projects/meek/build
View file @
96d8b9e7
...
...
@@ -2,13 +2,7 @@
[
%
c
(
"var/set_default_env"
)
-%
]
[
%
pc
(
'go'
,
'var/setup'
,
{
go_tarfile
=>
c
(
'input_files_by_name/go'
)
})
%
]
distdir
=/
var
/
tmp
/
dist
/
[
%
project
%
]
[
%
IF
c
(
"var/osx"
)
%
]
PTDIR
=
"$distdir/Contents/MacOS/Tor/PluggableTransports"
DOCSDIR
=
"$distdir/Contents/Resources/TorBrowser/Docs/meek"
[
%
ELSE
%
]
PTDIR
=
"$distdir/TorBrowser/Tor/PluggableTransports"
DOCSDIR
=
"$distdir/TorBrowser/Docs/meek"
[
%
END
%
]
[
%
c
(
"var/set_PTDIR_DOCSDIR"
)
-%
]
mkdir
-
p
$
PTDIR
$
DOCSDIR
tar
-
C
/
var
/
tmp
/
dist
-
xf
[
%
c
(
'input_files_by_name/goptlib'
)
%
]
...
...
projects/obfs4/build
View file @
96d8b9e7
...
...
@@ -2,11 +2,7 @@
[
%
c
(
"var/set_default_env"
)
-%
]
[
%
pc
(
'go'
,
'var/setup'
,
{
go_tarfile
=>
c
(
'input_files_by_name/go'
)
})
%
]
distdir
=/
var
/
tmp
/
dist
/
[
%
project
%
]
[
%
IF
c
(
"var/osx"
)
%
]
PTDIR
=
"$distdir/Contents/MacOS/Tor/PluggableTransports"
[
%
ELSE
%
]
PTDIR
=
"$distdir/TorBrowser/Tor/PluggableTransports"
[
%
END
%
]
[
%
c
(
"var/set_PTDIR_DOCSDIR"
)
-%
]
mkdir
-
p
$
PTDIR
tar
-
C
/
var
/
tmp
/
dist
-
xf
[
%
c
(
'input_files_by_name/goptlib'
)
%
]
...
...
projects/snowflake/build
View file @
96d8b9e7
...
...
@@ -7,20 +7,16 @@
export
PATH
=
"/var/tmp/dist/binutils/bin:$PATH"
[
%
END
-%
]
distdir
=/
var
/
tmp
/
dist
/
[
%
project
%
]
[
%
c
(
"var/set_PTDIR_DOCSDIR"
)
-%
]
mkdir
-
p
$
PTDIR
$
DOCSDIR
[
%
IF
c
(
"var/osx"
)
%
]
PTDIR
=
"$distdir/Contents/MacOS/Tor/PluggableTransports"
DOCSDIR
=
"$distdir/Contents/Resources/TorBrowser/Docs/snowflake"
export
CGO_ENABLED
=
1
export
CGO_CFLAGS
=
"[% c("
var
/
FLAGS
") %] -mmacosx-version-min=10.7"
export
CGO_CXXFLAGS
=
"[% c("
var
/
FLAGS
") %] -stdlib=libc++ -mmacosx-version-min=10.7"
export
CGO_LDFLAGS
=
"[% c("
var
/
FLAGS
") %] -stdlib=libc++ -mmacosx-version-min=10.7"
export
CC
=
"$clangdir/bin/clang"
export
CXX
=
"$clangdir/bin/clang++"
[
%
ELSE
%
]
PTDIR
=
"$distdir/TorBrowser/Tor/PluggableTransports"
DOCSDIR
=
"$distdir/TorBrowser/Docs/snowflake"
[
%
END
%
]
mkdir
-
p
$
PTDIR
$
DOCSDIR
tar
-
C
/
var
/
tmp
/
dist
-
xf
[
%
c
(
'input_files_by_name/go-webrtc'
)
%
]
tar
-
C
/
var
/
tmp
/
dist
-
xf
[
%
c
(
'input_files_by_name/uniuri'
)
%
]
...
...
rbm.conf
View file @
96d8b9e7
...
...
@@ -82,6 +82,11 @@ var:
export
HOME
=$
rootdir
umask
0022
DOCSDIR_project
:
'[% project %]'
set_PTDIR_DOCSDIR
: |
PTDIR
=
"$distdir/TorBrowser/Tor/PluggableTransports"
DOCSDIR
=
"$distdir/TorBrowser/Docs/[% c("
var
/
DOCSDIR_project
") %]"
targets
:
notarget
:
linux
-
x86_64
noint
:
...
...
@@ -202,6 +207,9 @@ targets:
-
zip
-
unzip
faketime_path
: /
usr
/
lib
/
x86_64
-
linux
-
gnu
/
faketime
/
libfaketime
.
so
.
1
set_PTDIR_DOCSDIR
: |
PTDIR
=
"$distdir/Contents/MacOS/Tor/PluggableTransports"
DOCSDIR
=
"$distdir/Contents/Resources/TorBrowser/Docs/[% c("
var
/
DOCSDIR_project
") %]"
# The no_build_id target can be useful if you want to quickly display
# a build template or other option but don't want to spend time to
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment