summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2008-12-07 12:14:32 +0100
committerDan McGee <dan@archlinux.org>2009-01-03 07:11:51 +0100
commit9a7f68317aa652cbc89e7fa69381d6239a63a6e7 (patch)
tree2d4d2173521e0ea0af71e6b63a14a0512aa56054 /doc
parent774c252753c3c1717684bea234a497941aa864d7 (diff)
downloadpacman-9a7f68317aa652cbc89e7fa69381d6239a63a6e7.tar.gz
pacman-9a7f68317aa652cbc89e7fa69381d6239a63a6e7.tar.xz
makepkg: Introduce purge option
The purge option, combined with the PURGE_TARGETS variable, allows makepkg to automatically remove commonly confliting or removed files (e.g. /usr/share/info/dir, *.pod). Original work: Tim Yang Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/makepkg.conf.5.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/makepkg.conf.5.txt b/doc/makepkg.conf.5.txt
index 18dbf350..8b3665b0 100644
--- a/doc/makepkg.conf.5.txt
+++ b/doc/makepkg.conf.5.txt
@@ -125,6 +125,10 @@ Options
*zipman*;;
Compress manual (man and info) pages with gzip.
+ *purge*;;
+ Remove files specified by the `PUGRE_TARGETS` variable from the
+ package.
+
**INTEGRITY_CHECK=(**check1 ...**)**::
File integrity checks to use. Multiple checks may be specified; this
affects both generation and checking. The current valid options are:
@@ -150,6 +154,11 @@ Options
to this array. *NOTE:* Do not add the leading slash to the directory
name.
+**PURGE_TARGETS=(**usr/{,share}/info/dir .podlist *.pod...**)**::
+ If "purge" is specified in the OPTIONS array, this variable will
+ instruct makepkg which files to remove from the package. This is
+ useful for index files that are added by multiple packages.
+
**PKGDEST=**"/path/to/folder"::
If this value is not set, packages will by default be placed in the
current directory (location of the linkman:PKGBUILD[5]). Many people