Current-Users archive

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

Re: Fix for tests/Makefile



On Sun, Dec 12, 2010 at 08:15:10PM +0100, Adam wrote:
> Greetings,
> 
> I would like to patch tests/Makefile:
> 
> --- tests/Makefile    8 Dec 2010 23:56:02 -0000       1.25
> +++ tests/Makefile    12 Dec 2010 13:27:51 -0000
> @@ -15,6 +15,7 @@
>  . endif
>  
>  .include <bsd.test.mk>
> -.endif
> +.else
>  
>  .include <bsd.subdir.mk>
> +.endif
> 
> because otherwise I see:
> 
> includes ===> tests
> nbmake: "/Volumes/Data/dist/src/share/mk/bsd.subdir.mk" line 32: warning: 
> duplicate script for target "__recurse" ignored
> nbmake: "/Volumes/Data/dist/src/share/mk/bsd.subdir.mk" line 32: warning: 
> using previous script for "__recurse" defined here
> 
> 
> (bsd.subdir.mk get included by bsd.test.mk)

Another possibilty could be to drop bsd.subdir.mk here ...

There's no need for subdir __recurse unless tests are wanted, and in
that case bsd.test.mk already handle it.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.


Home | Main Index | Thread Index | Old Index