From 508b360c24ddfdb79f66cc14b197988a829b0ecd Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Wed, 15 Jun 2011 14:32:42 +1000 Subject: 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 Signed-off-by: Dan McGee --- doc/makepkg.8.txt | 3 +++ doc/makepkg.conf.5.txt | 8 ++++++++ 2 files changed, 11 insertions(+) (limited to 'doc') diff --git a/doc/makepkg.8.txt b/doc/makepkg.8.txt index e61f7ab3..f15226ac 100644 --- a/doc/makepkg.8.txt +++ b/doc/makepkg.8.txt @@ -206,6 +206,9 @@ Environment Variables Folder where the downloaded sources will be stored. Overrides the corresponding value defined in linkman:makepkg.conf[5]. +**BUILDDIR=**"/path/to/folder":: + Folder where the package will be built. Overrides the corresponding + value defined in linkman:makepkg.conf[5]. Configuration ------------- diff --git a/doc/makepkg.conf.5.txt b/doc/makepkg.conf.5.txt index 48f5ef56..aa0174cb 100644 --- a/doc/makepkg.conf.5.txt +++ b/doc/makepkg.conf.5.txt @@ -110,6 +110,14 @@ Options running in the DistCC cluster. In addition, you will want to modify your `MAKEFLAGS`. +**BUILDDIR=**"/path/to/folder":: + If this value is not set, packages will by default be built in + subdirectories of the directory that makepkg is called from. This + option allows setting the build location to another folder. + Incorrect use of `$startdir` in a PKGBUILD may cause building with + this option to fail. + + **GPGKEY=**"":: Specify a key to use for gpg signing instead of the default key in the keyring. Can be overridden with makepkg's `--key` option. -- cgit v1.2.3-70-g09d2