This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Added generated example indexes
- From: Mark Wielaard <mwielaard at redhat dot com>
- To: systemtap at sourceware dot org
- Date: Thu, 07 Aug 2008 16:59:58 +0200
- Subject: Added generated example indexes
Hi,
I added generation of example indexes to the build. It is a simple perl
script that munches up the info from the .meta files and spits out txt
and html index lists of all the examples found. Indexed by subsystem and
keyword. Both the .txt and .html indexes are installed in the examples
dir (and also in the rpm).
You can find an example of the html version now on the website:
http://sourceware.org/systemtap/examples/
Putting it on the website isn't automated yet. But given that you have a
checkout of the systemtap htdocs directory. You would regenerate them
with the following command:
$ perl testsuite/systemtap.examples/examples-index-gen.pl \
testsuite/systemtap.examples \
/home/mark/src/systemtap-htdocs/examples
Then add any new files to cvs and commit the result.
Cheers,
Mark