[et-mgmt-tools] [PATCH] virt-viewer: remove built files in build dir
Daniel P. Berrange
berrange at redhat.com
Mon Nov 3 11:05:14 UTC 2008
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.
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the et-mgmt-tools
mailing list