> The attached XSLT should do what you need, although it probably doesn't
> match the format
> you would like.  Just run it as:
>
> xsltproc --xinclude /path/to/blfs-checkout/index.xml dependencies.xml

Hey Matt,

Thanks for that! I wasn't able to get it to work, though :-)

But never mind, I've managed to cludge together a different way of
extracting dependencies from the book's sources, using tools like find,
grep, and sed.


Now, I have an additional question. Suppose I have a script that, given
the path to a package's xml file, can then generate all dependencies for
that package. What's more, the script uses wget to access the latest xml
files from http://svn.linuxfromscratch.org/BLFS/trunk/BOOK/.

The problem is that I need to know the specific path to the package in
advance. For example, for HAL, I need to know that the xml file is
$BOOK_DIR/general/sysutils/hal.xml.

Is there any way I can generate the path to hal.xml without downloading
the entire book? I tried using wget in spider mode and grepping the
output, but I got an error about recursion being disabled.

Any ideas? It occurred to me that there might be a subversion command that
could accomplish this, but even if I knew what that command was, I still
don't want the script to rely on subversion being installed on my LFS
system.


Cheers,


Tim
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to