summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-06-15 06:32:42 +0200
committerDan McGee <dan@archlinux.org>2011-06-22 17:45:55 +0200
commit508b360c24ddfdb79f66cc14b197988a829b0ecd (patch)
tree32b0e68a2c9ee5d272673c91f1ee4f21da100863 /etc
parentb803a33a8fc2ef86ba2d986c36f31524532d454b (diff)
downloadpacman-508b360c24ddfdb79f66cc14b197988a829b0ecd.tar.gz
pacman-508b360c24ddfdb79f66cc14b197988a829b0ecd.tar.xz
makepkg: allow specifying alternative build directory
Add a BUILDDIR variable (which can be overridden in the environment) to specify an alternative location for building the package. This is useful for people who want to build on a different filesystem for improved performance (e.g. tmpfs). Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'etc')
-rw-r--r--etc/makepkg.conf.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/makepkg.conf.in b/etc/makepkg.conf.in
index 42ae9405..d3b7d3d3 100644
--- a/etc/makepkg.conf.in
+++ b/etc/makepkg.conf.in
@@ -54,6 +54,9 @@ BUILDENV=(fakeroot !distcc color !ccache check !sign)
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""
+#
+#-- Specify a directory for package building.
+#BUILDDIR=/tmp/makepkg
#########################################################################
# GLOBAL PACKAGE OPTIONS