summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPierre Neidhardt <ambrevar@gmail.com>2014-03-03 20:29:54 +0100
committerAllan McRae <allan@archlinux.org>2014-03-12 13:13:49 +1000
commitce3fbcb18d176d45df0c0f54299022e55509595f (patch)
tree6f24820420861f1ea09fdfaab14325ca7ad67609 /doc
parent204158682910556b3e5e53906dcfaf063ab0e195 (diff)
downloadpacman-ce3fbcb18d176d45df0c0f54299022e55509595f.tar.xz
makepkg: Add a --noarchive option to inhibit archive creation
1. Packagers who want to test the package() function, i.e. to check the content of the pkg/ folder. 2. Developers who want to check how the packaged version of a program looks, in other words how the pkg/ folder looks. 3. For users of systems with no port tree, makepkg can ease package creation. However the resulting archive of the whole makepkg process is often useless. For all situations, makepkg will usually be called several times. But no archive (the final package) is needed in any cases. The archive creation ends up being a waste of time and resource, especially for big applications and slow machines. Since this option aborts the process prematurely, it behaves like the -o,--nobuild option, i.e. any other option acting on later stages in the process will be automatically discarded. For --noarchive, it means that in $ makepkg --noarchive --install the '--install' option does not do anything. Signed-off-by: Pierre Neidhardt <ambrevar@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/makepkg.8.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/makepkg.8.txt b/doc/makepkg.8.txt
index 77a7a834..4b3cbbdf 100644
--- a/doc/makepkg.8.txt
+++ b/doc/makepkg.8.txt
@@ -165,6 +165,11 @@ Options
Run the check() function in the PKGBUILD, overriding the setting in
linkman:makepkg.conf[5].
+*\--noarchive*::
+ Do not create the archive at the end of the build process. This can be
+ useful to test the package() function or if your target distribution does
+ not use pacman.
+
*\--nocheck*::
Do not run the check() function in the PKGBUILD or handle the checkdepends.