summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorroot <devnull@localhost>1996-07-14 16:14:01 +0000
committerroot <devnull@localhost>1996-07-14 16:14:01 +0000
commitd302f506aaaf18674b10bee90dceba9a33b0308a (patch)
treeabdf30e2c3f461551420abb12744b9c484c34c7a /docs
parent1a0bc2056d1784ecb3caa3072c94ce1c9d3e8874 (diff)
downloadrpm-d302f506aaaf18674b10bee90dceba9a33b0308a.tar.gz
rpm-d302f506aaaf18674b10bee90dceba9a33b0308a.tar.bz2
rpm-d302f506aaaf18674b10bee90dceba9a33b0308a.zip
change "build prefix" to "build root"
CVS patchset: 818 CVS date: 1996/07/14 16:14:01
Diffstat (limited to 'docs')
-rw-r--r--docs/buildroot34
1 files changed, 17 insertions, 17 deletions
diff --git a/docs/buildroot b/docs/buildroot
index 2c5a0deab..dd55a0404 100644
--- a/docs/buildroot
+++ b/docs/buildroot
@@ -1,8 +1,8 @@
-BUILD PREFIX
-============
+BUILD ROOT
+==========
-The build prefix is very similar to Root: (which will be depricated
-soon). By using Buildprefix: in your spec file you are indicating
+The build root is very similar to Root: (which will be depricated
+soon). By using Buildroot: in your spec file you are indicating
that your package can be built (installed into and packaged from)
a user-definable directory. This helps package building by normal
users.
@@ -12,14 +12,14 @@ The Spec File
Simply use
- Buildprefix: <dir>
+ Buildroot: <dir>
-in your spec file. The acutal buildprefix used by RPM during the
+in your spec file. The acutal buildroot used by RPM during the
build will be available to you (and your %prep, %build, and %install
-sections) as the environment variable RPM_BUILDPREFIX. You must
+sections) as the environment variable RPM_BUILD_ROOT. You must
make sure that the files for the package are installed into the
-proper buildprefix. As with Root:, the files listed in the %files
-section should *not* contain the buildprefix. For example, the
+proper buildroot. As with Root:, the files listed in the %files
+section should *not* contain the buildroot. For example, the
following hypothetical spec file:
Name: foo
@@ -42,7 +42,7 @@ would be changed to:
Name: foo
...
- Buildprefix: /tmp
+ Buildroot: /tmp
%prep
...
@@ -51,16 +51,16 @@ would be changed to:
...
%install
- install -m755 fooprog $RPM_BUILDPREFIX/usr/bin/fooprog
+ install -m755 fooprog $RPM_BUILD_ROOT/usr/bin/fooprog
%files
/usr/bin/fooprog
-Building With a Build Prefix
-----------------------------
+Building With a Build Root
+--------------------------
-RPM will use the buildprefix listed in the spec file as the default
-buildprefix. There are two ways to override this. First, you can
-have "buildprefix: <dir>" in your rpmrc. Second, you can override
-the default, and any entry in an rpmrc by using "--buildprefix <dir>"
+RPM will use the buildroot listed in the spec file as the default
+buildroot. There are two ways to override this. First, you can
+have "buildroot: <dir>" in your rpmrc. Second, you can override
+the default, and any entry in an rpmrc by using "--buildroot <dir>"
on the RPM command line.