SVN: geninitrd/trunk/Makefile

Przemyslaw Iskra sparky at pld-linux.org
Sat Jan 2 16:59:39 CET 2010


On Sat, Jan 02, 2010 at 04:03:14PM +0100, glen wrote:
> Author: glen
> Date: Sat Jan  2 16:03:13 2010
> New Revision: 11083
> 
> Modified:
>    geninitrd/trunk/Makefile
> Log:
> - avoid creating empty manual

>  geninitrd.8: geninitrd.8.xml
> -	refentry2man < geninitrd.8.xml > geninitrd.8
> +	refentry2man < $< > $@.tmp && mv $@.tmp $@

Consider using
.DELETE_ON_ERROR:

It normally is a good thing not to have half-finished files if anything
bad happens.

-- 
 ____  Sparky{PI] -- Przemyslaw _  ___  _  _  ........... LANG...Pl..Ca..Es..En
/____) ___  ___  _ _ || Iskra  |  | _ \| |  | : WWW........ppcrcd.pld-linux.org
\____\| -_)'___| ||^'||//\\// <   |  _/| |  | : JID......sparky<at>jabberes.org
(____/||   (_-_|_||  ||\\ ||   |_ |_|  |_| _| : Mail....sparky<at>pld-linux.org


More information about the pld-devel-en mailing list