Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.bin/nvi



Hi Matthew,

On Mon, Jul 21, 2008 at 05:16:35AM +1000, matthew green wrote:
[..]
>    The handling of the manpage in src/usr.bin/nvi/build/Makefile leaves the
>    nvi.1 file in the OBJ directory after doing a make cleandir.
>    
>    I thought about to add it to CLEANFILES, but maybe there is a better way
>    for the copy task:
>      nvi.1: ${DIST}/docs/vi.man/vi.1
>       cp ${DIST}/docs/vi.man/vi.1 nvi.1
>    
>    Or forget about finding a better way, since this is only a temporary 
> problem
>    while we install two vi versions.
> 
> 
> i believe BUILDSYMLINKS can be used to do this sanely.

Thank you for that hint. I commited the following change in rev 1.2 of the 
Makefile:

-nvi.1: ${DIST}/docs/vi.man/vi.1
-       cp ${DIST}/docs/vi.man/vi.1 nvi.1
+BUILDSYMLINKS= ${DIST}/docs/vi.man/vi.1 nvi.1

Bernd



Home | Main Index | Thread Index | Old Index