Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
steam-runtime-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
steamrt
steam-runtime-tools
Commits
6e89e606
Commit
6e89e606
authored
5 years ago
by
Simon McVittie
Browse files
Options
Downloads
Patches
Plain Diff
build-relocatable-install: Add help
Signed-off-by:
Simon McVittie
<
smcv@collabora.com
>
parent
801f012c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build-relocatable-install.py
+46
-9
46 additions, 9 deletions
build-relocatable-install.py
with
46 additions
and
9 deletions
build-relocatable-install.py
+
46
−
9
View file @
6e89e606
...
...
@@ -134,18 +134,55 @@ def main():
# type: () -> None
parser
=
argparse
.
ArgumentParser
()
parser
.
add_argument
(
'
--destdir
'
,
default
=
os
.
getenv
(
'
DESTDIR
'
))
parser
.
add_argument
(
'
--prefix
'
,
default
=
None
)
parser
.
add_argument
(
'
--srcdir
'
,
default
=
None
)
parser
.
add_argument
(
'
--output
'
,
'
-o
'
,
default
=
None
)
parser
.
add_argument
(
'
--archive
'
,
default
=
None
)
parser
.
add_argument
(
'
--apt-get-source
'
,
action
=
'
store_true
'
)
parser
.
add_argument
(
'
--set-version
'
,
dest
=
'
version
'
,
default
=
None
)
parser
.
add_argument
(
'
--archive-versions
'
,
action
=
'
store_true
'
,
default
=
True
)
'
--destdir
'
,
default
=
os
.
getenv
(
'
DESTDIR
'
),
help
=
(
'
Assume pressure-vessel is installed in DESTDIR instead of
'
'
in the root directory
'
),
)
parser
.
add_argument
(
'
--prefix
'
,
default
=
None
,
help
=
(
'
Assume pressure-vessel is installed in PREFIX instead of
'
'
in /usr/lib/pressure-vessel-relocatable
'
),
)
parser
.
add_argument
(
'
--srcdir
'
,
default
=
None
,
help
=
(
'
Assume pressure-vessel source code is installed in SRCDIR
'
'
(relative to PREFIX) instead of finding it automatically
'
),
)
parser
.
add_argument
(
'
--output
'
,
'
-o
'
,
default
=
None
,
help
=
'
Write an unpacked binary tree to OUTPUT
'
,
)
parser
.
add_argument
(
'
--archive
'
,
default
=
None
,
help
=
'
Write packed source and binary tarballs into ARCHIVE directory
'
,
)
parser
.
add_argument
(
'
--apt-get-source
'
,
action
=
'
store_true
'
,
help
=
(
"
Use
'
apt-get source pressure-vessel=VERSION
'
to download
"
"
pressure-vessel
'
s own source code
"
),
)
parser
.
add_argument
(
'
--set-version
'
,
dest
=
'
version
'
,
default
=
None
,
help
=
'
Assume that pressure-vessel is version VERSION
'
,
)
parser
.
add_argument
(
'
--archive-versions
'
,
action
=
'
store_true
'
,
default
=
True
,
help
=
'
Embed the version of pressure-vessel in the tarballs [default]
'
,
)
parser
.
add_argument
(
'
--no-archive-versions
'
,
dest
=
'
archive_versions
'
,
action
=
'
store_false
'
,
default
=
True
)
action
=
'
store_false
'
,
default
=
True
,
help
=
'
Do not embed the version of pressure-vessel in the tarballs
'
,
)
args
=
parser
.
parse_args
()
if
args
.
srcdir
is
None
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment