Path to config files in manpages
Damien Miller
djm at mindrot.org
Wed Jan 10 08:22:16 EST 2001
On Tue, 9 Jan 2001, Christian Kurz wrote:
> Hi,
>
> I just noticed that the path to some config files in the manpages get's
> replaced during the build of the debian package with the pathes which
> are used during the build. This is not good, since the path will not be
> the same for the enduser, who installs the deb. Is it intented that the
> pathes in the manpage get generated during compilation and should I know
> generate a script for debian to fix them?
The paths for the manpages are fixed up at build time based on the
options given to configure. If you are installing under a fake root
for the purposes of packaging (rpm, deb, etc) then configure and build
with the final filesystem paths, but override them when you install
under the fake root.
Have a look at the Redhat spec file for how I do it.
-d
--
| ``We've all heard that a million monkeys banging on | Damien Miller -
| a million typewriters will eventually reproduce the | <djm at mindrot.org>
| works of Shakespeare. Now, thanks to the Internet, /
| we know this is not true.'' - Robert Wilensky UCB / http://www.mindrot.org
More information about the openssh-unix-dev
mailing list