diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-02-08 05:43:40 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-03-14 03:16:58 +0100 |
commit | d8591dd3418d55c5736022ef003891fc03b953e0 (patch) | |
tree | 9b46ef33370c64d513208b5a048286250de078a4 /doc/makepkg.8.txt | |
parent | a100cd6bca5b56ef4a8f3ec15ef39efe9d23f1f8 (diff) | |
download | pacman-d8591dd3418d55c5736022ef003891fc03b953e0.tar.gz pacman-d8591dd3418d55c5736022ef003891fc03b953e0.tar.xz |
makepkg --packagelist: just list the built package files we will build
Currently this seems to be only theoretically useful. The most likely
reason for wanting a packagelist is in order to script makepkg and
derive the filenames for the packages we want to install or repo-add,
but in the current implementation this requires a lot of additional
post-processing which must be duplicated in every utility to wrap
makepkg.
- It is of minimal use to know what packages might get created on some
other device utilizing a different CPU/OS architecture, so don't list
them.
- It is non-trivial to reimplement makepkg's logic for sourcing any of
several makepkg.conf configuration files, then applying environment
overrides in order to get the PKGDEST and PKGEXT, so include them
directly in the returned filenames.
- Output is delimited by newlines, for readability. For maximum
parsing reliability, libmakepkg needs to learn how to lint the PKGDEST
and PKGEXT variables to ensure they do not contain newlines, which
will be submitted in a separate patch.
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc/makepkg.8.txt')
-rw-r--r-- | doc/makepkg.8.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/makepkg.8.txt b/doc/makepkg.8.txt index 460c4e26..a065b795 100644 --- a/doc/makepkg.8.txt +++ b/doc/makepkg.8.txt @@ -200,8 +200,8 @@ Options useful if you are redirecting makepkg output to file. *\--packagelist*:: - List the packages that would be produced without building. Listed - package names do not include PKGEXT. + List the package filenames that would be produced without building. Listed + package filenames include PKGDEST and PKGEXT. *\--printsrcinfo*:: Generate and print the SRCINFO file to stdout. |