[et-mgmt-tools] [PATCH] virt-viewer: remove built files in build dir

Guido Günther agx at sigxcpu.org
Mon Nov 3 18:18:00 UTC 2008


On Mon, Nov 03, 2008 at 11:05:14AM +0000, Daniel P. Berrange wrote:
> On Sun, Nov 02, 2008 at 06:43:38PM +0100, Guido G?nther wrote:
> > Hi,
> > attached patch removes the files in the build dir instead of trying to
> > do so in the installed system (fix is similar to what I submitted for
> > gtk-vnc).
> 
> Thanks, I've applied this change
> 
> > Cheers,
> >  -- Guido
> 
> > diff --git a/plugin/Makefile.am b/plugin/Makefile.am
> > index ff1536e..2ccffe6 100644
> > --- a/plugin/Makefile.am
> > +++ b/plugin/Makefile.am
> > @@ -26,7 +26,7 @@ virt-viewer-plugin.so: virt-viewer-plugin.la
> >  
> >  # Only leave the .so file in the plugins directory.
> >  install-data-hook:
> > -	rm -f $(plugindir)/virt-viewer-plugin.a $(plugindir)/virt-viewer-plugin.la
> > +	rm -f $(DESTDIR)$(plugindir)/virt-viewer-plugin.a $(plugindir)/virt-viewer-plugin.la
> 
> The 2nd filename needed $(DESTDIR) here too.
Yes, my bad. The gtk-vnc one was correct, the virt-viewer one lacked it,
sorry.
 -- Guido




More information about the et-mgmt-tools mailing list