New book validation procedure?

M.Canales.es macana at macana-es.com
Sat Jul 7 08:04:39 PDT 2007


El Sábado, 7 de Julio de 2007 16:53, Dan Nicholson escribió:

> Thinking about this a little more, I believe there should be a
> separate directory not in /tmp. These aren't exactly scratch files.
> blfs-html.xml and blfs-full.xml are meant to be accessed by multiple
> targets. Things that go in /tmp should be created and cleaned up right
> away. How about
>
> RENDERDIR = $(HOME)/blfs-render
>
> createdir:
>     $(Q)[ -d $(RENDERDIR) ] || mkdir -p $(RENDERDIR)
>
> clean:
>     @echo "Cleaning up..."
>     $(Q)rm -rf $(RENDERDIR)
>
> validxml: createdir

That might be a solution. If opting by that, I prefer $(BASEDIR)/temp-files or 
something like that to keep it centralized.

-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info
TLDP-ES:                           http://es.tldp.org



More information about the blfs-dev mailing list