[libvirt] [PATCH 3/4] Automatically generate the hvsupport.html.in file from source files

Daniel P. Berrange berrange at redhat.com
Mon May 16 16:11:37 UTC 2011


On Mon, May 16, 2011 at 10:00:30AM -0600, Eric Blake wrote:
> On 05/13/2011 07:36 AM, Daniel P. Berrange wrote:
> > The hvsupport.html.in file is forever out of date. By annotating
> > the driver struct tables in each driver with version information,
> > we can auto-generate the hvsupport.html.in file. Annotating the
> > drivers will be mandatory for new patches, ensuring hvsupport.html.in
> > is never out of date again.
> > 
> > * docs/hvsupport.html.in: Delete
> > * hvsupport.pl: Script to generate hvsupport.html.in
> > * Makefile.am: Autogenerate hvsupport.html.in
> > ---
> >  docs/Makefile.am       |   10 +-
> >  docs/hvsupport.html.in |  801 ------------------------------------------------
> >  docs/hvsupport.pl      |  353 +++++++++++++++++++++
> >  3 files changed, 360 insertions(+), 804 deletions(-)
> >  delete mode 100644 docs/hvsupport.html.in
> >  create mode 100644 docs/hvsupport.pl
> 
> Hmm, that should probably be mode 100755, since it is an executable
> script.  I'm pushing that obvious fix.

It doesn't hugely matter, since the makefile.am explicitly
calls '$(PERL) hvsupport.pl'

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list