jhalfs .. makefile internals

George Boudreau georgeb at linuxfromscratch.org
Fri Mar 17 14:31:29 PST 2006


Manuel,
   This is a design question on the Makefile.
   You string many commands together with "&& \" in the makefile. Is 
there a requirement I am missing or was this just your style. The reason 
I am asking is I am having some difficulty keeping my small function 
calls straight, which one provides a "&& \" pair at the end and which 
don't.  The number of 'almost the same' functions is growing.
func(){  @cmd1 && \
    cmd2 && \
    cmd3
}

would  be replace with
func(){
   @cmd1
   @cmd2
   @cmd3
}

   If this is as clear as mud let me know..



More information about the alfs-discuss mailing list