El Martes, 23 de Mayo de 2006 22:02, Dan Nicholson escribió: > The very simple solution is a STAMPDIR like gsbuild. At the end of a > package, `touch $STAMPDIR/$PACKAGE'. Then, the normal building code > is simply wrapped in an if-else. > > if [ ! -f $STAMPDIR/$PACKAGE ]; then > build_package_function > touch $STAMPDIR/$PACKAGE > else > echo "$PACKAGE is already built" > fi
Yes, that is simple and was my first idea. I would to can skip them in the newer generated books, adding in the dependencies blocks an "(already installed on your system)" near the package name. That could be very nice ;-) -- 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.com TLDP-ES: http://es.tldp.org -- http://linuxfromscratch.org/mailman/listinfo/alfs-discuss FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
