Heinz-Ado Arnolds
2011-Apr-28 11:51 UTC
rsync-3.0.8: problem with installing man pages when using seperate build dir
Hi all, there is a little problem when building rsync outside it's source dir with installing the man pages: they are not found and therefor not installed. The attached patch fixes this situation. Kind regards, H.-A. Arnolds -- ________________________________________________________________________ Dipl.-Ing. Heinz-Ado Arnolds MPI fuer Astrophysik Karl-Schwarzschild-Strasse 1 Postfach 1317 D-85748 Garching D-85741 Garching Phone: +49/89/30000-2217 FAX : +49/89/30000-2388 email: arnolds[at]MPA-Garching.MPG.DE ________________________________________________________________________ -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: rsync-3.0.8-man-install.patch URL: <http://lists.samba.org/pipermail/rsync/attachments/20110428/70cce928/attachment.ksh>
Wayne Davison
2011-Apr-28 23:48 UTC
rsync-3.0.8: problem with installing man pages when using seperate build dir
On Thu, Apr 28, 2011 at 4:51 AM, Heinz-Ado Arnolds <arnolds at mpa-garching.mpg.de> wrote:> there is a little problem when building rsync outside it's source dir with > installing the man pages: they are not found and therefor not installed.See the "man" target in the Makefile. The *.1 & *.5 manpages are generated files, so they need to be installed from the current dir, not the srcdir. However, the Makefile will fall-back to copying the version from the srcdir if make deemed that it didn't need to update the version it found in the srcdir. Sadly, this only works if you have yodl installed, as the "man" dependency for the "all" target is removed when yodl2man is not found (which avoids generating an error for those that don't care about a lack of yodl). I've checked-in a change that makes the srcdir-duplicating of the man pages happen even for someone w/o yodl2man. For existing rsync releases, the easiest solution is to install the yodl package before building rsync. An alternate solution is to use "make man" (prior to "make install") if the *.1 & *.5 files in the srcdir are recent enough to be used verbatim. ..wayne..