diff options
author | Douglas R. Reno <renodr@linuxfromscratch.org> | 2019-06-25 03:01:24 +0000 |
---|---|---|
committer | Douglas R. Reno <renodr@linuxfromscratch.org> | 2019-06-25 03:01:24 +0000 |
commit | 0fbcdb16bfd48cf59e48bf3a52f0cf4a548c16d9 (patch) | |
tree | b82d451d7da805b642e1bd4b3ae1d0622a1d375d /chapter06 | |
parent | 015138b994e9e7d30563f9a6d25d8dfe1638d0e5 (diff) |
Fix documentation installation in Check so that it's installed in a versioned directory.
We do this by specifying the docdir= on the make install line, forcing an override
Otherwise it installs it in /usr/share/doc/check, and does NOT honor the configure
option of --docdir=
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11624 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/check.xml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chapter06/check.xml b/chapter06/check.xml index 5374de5c1..739af9803 100644 --- a/chapter06/check.xml +++ b/chapter06/check.xml @@ -42,8 +42,7 @@ <para>Prepare Check for compilation:</para> -<screen><userinput remap="configure">./configure --prefix=/usr \ - --docdir=/usr/share/doc/check-&check-version;</userinput></screen> +<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen> <para>Build the package:</para> @@ -59,7 +58,7 @@ <para>Install the package and fix a script:</para> -<screen><userinput remap="install">make install + <screen><userinput remap="install">make docdir=/usr/share/doc/check-&check-version; install sed -i '1 s/tools/usr/' /usr/bin/checkmk</userinput></screen> </sect2> |